diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-04-09 20:33:03 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-04-09 20:33:03 -0400 |
commit | 7af18188490f514e7768ca0aae7454134f85140f (patch) | |
tree | 1e864d4e18428cb5f2dc8fd7e4840c3ad31acddf /technic/machines/MV | |
parent | c4ea0a8dd17ee1cbe678c3be811724d9e59747ba (diff) | |
download | dreambuilder_modpack-7af18188490f514e7768ca0aae7454134f85140f.tar dreambuilder_modpack-7af18188490f514e7768ca0aae7454134f85140f.tar.gz dreambuilder_modpack-7af18188490f514e7768ca0aae7454134f85140f.tar.bz2 dreambuilder_modpack-7af18188490f514e7768ca0aae7454134f85140f.tar.xz dreambuilder_modpack-7af18188490f514e7768ca0aae7454134f85140f.zip |
update pipeworks and technic
Diffstat (limited to 'technic/machines/MV')
-rw-r--r-- | technic/machines/MV/tool_workshop.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/technic/machines/MV/tool_workshop.lua b/technic/machines/MV/tool_workshop.lua index 4076cc1..9219717 100644 --- a/technic/machines/MV/tool_workshop.lua +++ b/technic/machines/MV/tool_workshop.lua @@ -103,7 +103,8 @@ minetest.register_node("technic:tool_workshop", { allow_metadata_inventory_take = technic.machine_inventory_take, tube = { can_insert = function (pos, node, stack, direction) - return minetest.get_meta(pos):get_inventory():room_for_item("src", stack) + local onestack = stack:peek_item(1) + return minetest.get_meta(pos):get_inventory():room_for_item("src", onestack) end, insert_object = function (pos, node, stack, direction) return minetest.get_meta(pos):get_inventory():add_item("src", stack) |