Fix crash when taking things out of furance
parent
212089c8ac
commit
3f498f1eb9
|
@ -1125,7 +1125,9 @@ minetest.register_node("default:furnace_active", {
|
|||
allow_metadata_inventory_take = function(pos, listname, index, stack, player)
|
||||
if not default.furnace_available(pos) then
|
||||
return 0
|
||||
end
|
||||
else
|
||||
return stack:get_count()
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue