mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-17 23:30:35 +02:00
Version MFF.
This commit is contained in:
2
vines/functions.lua
Normal file → Executable file
2
vines/functions.lua
Normal file → Executable file
@ -123,7 +123,7 @@ vines.dig_vine = function( pos, node_name, user )
|
||||
--only dig give the vine if shears are used
|
||||
if not user then return false end
|
||||
local wielded = user:get_wielded_item()
|
||||
if 'vines:shears' == wielded:get_name() then
|
||||
if 'vines:shears' == wielded:get_name() then
|
||||
local inv = user:get_inventory()
|
||||
if inv then
|
||||
inv:add_item("main", ItemStack( node_name ))
|
||||
|
Reference in New Issue
Block a user