Fix lava pick output count

This commit is contained in:
TenPlus1 2016-05-21 14:29:00 +01:00
parent 1212d2a666
commit f83ecdfdf9
1 changed files with 1 additions and 2 deletions

View File

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