mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add inventory.get_uses, inventory.use, item.uses & update base:bazalt_breaker
This commit is contained in:
parent
231fc7e0d0
commit
bbfc0dbf17
5 changed files with 40 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue