Update falling nodes after eating up cake

This commit is contained in:
Wuzzy 2017-05-20 20:10:12 +02:00
parent 0bb0ba91d9
commit c328a9b1bc
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ local register_slice = function(level, nodebox, desc)
on_rightclick = function(pos, node, clicker, itemstack) on_rightclick = function(pos, node, clicker, itemstack)
minetest.do_item_eat(2, ItemStack("mcl:cake:cake 0"), ItemStack("mcl_cake:cake_1"), clicker, {type="nothing"}) minetest.do_item_eat(2, ItemStack("mcl:cake:cake 0"), ItemStack("mcl_cake:cake_1"), clicker, {type="nothing"})
minetest.remove_node(pos) minetest.remove_node(pos)
core.check_for_falling(pos)
end end
end end