Always return the leftover ItemStack for on_place and on_rightclick

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

No files matched your search

+1 -1
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
})