Commit f83ecdfd authored by TenPlus1's avatar TenPlus1
Browse files

Fix lava pick output count

parent 1212d2a6
...@@ -106,10 +106,9 @@ function minetest.handle_node_drops(pos, drops, digger) ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment