remove one item after placing block
This commit is contained in:
parent
17dce5f869
commit
0d180ed3c0
|
@ -124,6 +124,7 @@ minetest.register_node("the_bridge:stone", {
|
|||
local pos = pointed_thing.above
|
||||
minetest.set_node(pos , {name="the_bridge:stone"})
|
||||
end
|
||||
itemstack:take_item()
|
||||
end,
|
||||
on_dig = function(pos, node, digger)
|
||||
local wielded = digger and digger:get_wielded_item()
|
||||
|
|
Loading…
Reference in New Issue