From f48bad74e1ce59a6dcfc6add902adbb7a79dd207 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sun, 9 Apr 2017 14:15:22 +0200 Subject: [PATCH] improve connected_chests fix for injector --- mods/pipeworks/filter-injector.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/pipeworks/filter-injector.lua b/mods/pipeworks/filter-injector.lua index ac76ba59..f5f90a0c 100755 --- a/mods/pipeworks/filter-injector.lua +++ b/mods/pipeworks/filter-injector.lua @@ -150,6 +150,9 @@ local function punch_filter(data, filtpos, filtnode, msg) local v_mul = vector.multiply(dir, 2) frompos = vector.subtract(filtpos, v_mul) fromnode = minetest.get_node(frompos) + if fromnode and fromnode.name ~= "connected_chests:chest_left" then + return + end end if not fromnode then return end