Always return the leftover ItemStack for on_place and on_rightclick

This commit is contained in:
Tim 2016-07-01 22:43:02 +02:00 committed by paramat
parent e38099225c
commit 71c7e21669
6 changed files with 20 additions and 15 deletions

View file

@ -251,8 +251,8 @@ minetest.register_node("flowers:waterlily", {
end
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()
return itemstack
end
end
return itemstack
end
})