remove one item after placing block

This commit is contained in:
chmodsayshello 2022-10-09 17:23:07 +02:00
parent 17dce5f869
commit 0d180ed3c0
1 changed files with 1 additions and 0 deletions

View File

@ -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()