diff options
-rw-r--r-- | init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -268,8 +268,10 @@ for _, i in pairs(variant_list) do on_use = function(itemstack, user, pointed_thing) local pos = minetest.get_pointed_thing_position(pointed_thing, true) if pos then - fireworkz.launch(pos, rdt) + itemstack:take_item() + fireworkz.launch(pos, rdt) end + return itemstack end, on_construct = function(pos) |