Fix crash when taking things out of furance

pull/6/head
Brandon 2015-06-26 18:00:41 -05:00
parent 212089c8ac
commit 3f498f1eb9
1 changed files with 3 additions and 1 deletions

View File

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