From a44d2acea506c5856ebcc8a3722d36815f7444ea Mon Sep 17 00:00:00 2001 From: Valentin Anger Date: Sun, 7 Jan 2018 15:57:42 +0100 Subject: [PATCH] Fix items not being removable from the metal furnace --- sparkfurnace/metalfurnace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparkfurnace/metalfurnace.lua b/sparkfurnace/metalfurnace.lua index c38cf5d..84d27c3 100644 --- a/sparkfurnace/metalfurnace.lua +++ b/sparkfurnace/metalfurnace.lua @@ -164,7 +164,7 @@ minetest.register_node( NAME .. ":lv_furnace", { allow_metadata_inventory_put = is_item_allowed, allow_metadata_inventory_move = is_item_allowed_move, - allow_metadata_inventory_take = is_item_allowed_move, + allow_metadata_inventory_take = function(_, _, _, stack) return stack:get_count() end, -- Might want to improve this --on_metadata_inventory_move = ongetitem, --doesnt seem necesarry to me, if the item moves in the inventory schould not change the cooking process on_metadata_inventory_put = ongetitem })