add inventory.get_uses, inventory.use, item.uses & update base:bazalt_breaker
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
function on_block_break_by(x, y, z, p)
|
||||
function on_block_break_by(x, y, z, pid)
|
||||
block.set(x, y, z, 0, 0)
|
||||
inventory.use(player.get_inventory(pid))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user