From 1a45ad19d4fa627e147bd385665e37942f6147fb Mon Sep 17 00:00:00 2001 From: Serhiy Zahoriya <serhiy.int@gmail.com> Date: Sat, 11 Jan 2020 22:06:24 +0100 Subject: [PATCH] Alloy furnace: Accept only unique ItemStacks from tubes (#523) --- technic/machines/other/injector.lua | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/technic/machines/other/injector.lua b/technic/machines/other/injector.lua index c98be59..193d051 100644 --- a/technic/machines/other/injector.lua +++ b/technic/machines/other/injector.lua @@ -95,7 +95,7 @@ if meta:get_int("splitstacks") == 1 then stack = stack:peek_item(1) end - return meta:get_inventory():room_for_item("main", stack) + return inv:room_for_item("main", stack) end, insert_object = function(pos, node, stack, direction) return minetest.get_meta(pos):get_inventory():add_item("main", stack) -- Gitblit v1.8.0