set lightning staff so it wont drop

This commit is contained in:
TenPlus1 2020-06-06 17:02:05 +01:00
parent dbf1eb4ca5
commit fbdbde691b

@ -234,6 +234,9 @@ minetest.register_tool("lucky_block:lightning_staff", {
range = 10,
groups = {not_in_creative_inventory = 1},
drops = "",
on_drop = function(itemstack, user, pointed_thing) end,
on_use = function(itemstack, user, pointed_thing)
local pos = user:get_pos()