mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-23 01:10:26 +01:00
Fix lava pick output count
This commit is contained in:
parent
1212d2a666
commit
f83ecdfdf9
@ -106,10 +106,9 @@ function minetest.handle_node_drops(pos, drops, digger)
|
|||||||
table.insert(hot_drops,
|
table.insert(hot_drops,
|
||||||
ItemStack({
|
ItemStack({
|
||||||
name = output.item:get_name(),
|
name = output.item:get_name(),
|
||||||
count = stack:get_count()
|
count = output.item:to_table().count,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
else -- if not then return normal drops
|
else -- if not then return normal drops
|
||||||
table.insert(hot_drops, stack)
|
table.insert(hot_drops, stack)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user