mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix util
This commit is contained in:
parent
74cefdafbd
commit
a422ea1534
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ end
|
||||||
function util.block_loot(blockid)
|
function util.block_loot(blockid)
|
||||||
local lootscheme = block.properties[blockid]["base:loot"]
|
local lootscheme = block.properties[blockid]["base:loot"]
|
||||||
if lootscheme then
|
if lootscheme then
|
||||||
return calc_loot(lootscheme)
|
return util.calc_loot(lootscheme)
|
||||||
end
|
end
|
||||||
return {{item=block.get_picking_item(blockid), count=1}}
|
return {{item=block.get_picking_item(blockid), count=1}}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue