Fix items not being removable from the metal furnace

This commit is contained in:
Valentin Anger 2018-01-07 15:57:42 +01:00
parent a8065fbe8a
commit a44d2acea5

View File

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