add set_wielded_item to fake_player
This commit is contained in:
parent
f8f82e32b2
commit
f37e2c02cc
3
init.lua
3
init.lua
@ -427,6 +427,9 @@ core.register_entity(":__builtin:falling_node", {
|
|||||||
is_player = function() return false end,
|
is_player = function() return false end,
|
||||||
get_wielded_item = function()
|
get_wielded_item = function()
|
||||||
return ItemStack("air")
|
return ItemStack("air")
|
||||||
|
end,
|
||||||
|
set_wielded_item = function()
|
||||||
|
return ItemStack("air")
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user