mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-08-21 02:34:08 +02:00
set lightning staff so it wont drop
This commit is contained in:
parent
dbf1eb4ca5
commit
fbdbde691b
@ -234,6 +234,9 @@ minetest.register_tool("lucky_block:lightning_staff", {
|
|||||||
range = 10,
|
range = 10,
|
||||||
groups = {not_in_creative_inventory = 1},
|
groups = {not_in_creative_inventory = 1},
|
||||||
|
|
||||||
|
drops = "",
|
||||||
|
on_drop = function(itemstack, user, pointed_thing) end,
|
||||||
|
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
|
|
||||||
local pos = user:get_pos()
|
local pos = user:get_pos()
|
||||||
|
Loading…
Reference in New Issue
Block a user