From 76a39e71b9f81531e14efd7ec1b0accfefa0fa66 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS <Luke@SwissalpS.ws> Date: Wed, 25 Dec 2019 22:23:34 +0100 Subject: [PATCH] Cleanup duplicate call (#522) --- 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