Vanessa Ezekowitz
2017-04-11 64f38f423e5c5b7a94a127cc80aa31dd6469adea
tool workshop shouldn't ever allow stack splitting
(tools don't stack :) )
1 files modified
3 ■■■■ changed files
technic/machines/MV/tool_workshop.lua 3 ●●●● patch | view | raw | blame | history
technic/machines/MV/tool_workshop.lua
@@ -103,8 +103,7 @@
    allow_metadata_inventory_take = technic.machine_inventory_take,
    tube = {
        can_insert = function (pos, node, stack, direction)
            local onestack = stack:peek_item(1)
            return minetest.get_meta(pos):get_inventory():room_for_item("src", onestack)
            return minetest.get_meta(pos):get_inventory():room_for_item("src", stack)
        end,
        insert_object = function (pos, node, stack, direction)
            return minetest.get_meta(pos):get_inventory():add_item("src", stack)