mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-02-27 16:20:20 +01:00
Merge branch 'pipeworks_fix_connected_chests' into NALC2
This commit is contained in:
commit
09d73bb968
@ -150,6 +150,9 @@ local function punch_filter(data, filtpos, filtnode, msg)
|
|||||||
local v_mul = vector.multiply(dir, 2)
|
local v_mul = vector.multiply(dir, 2)
|
||||||
frompos = vector.subtract(filtpos, v_mul)
|
frompos = vector.subtract(filtpos, v_mul)
|
||||||
fromnode = minetest.get_node(frompos)
|
fromnode = minetest.get_node(frompos)
|
||||||
|
if fromnode and fromnode.name ~= "connected_chests:chest_left" then
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not fromnode then return end
|
if not fromnode then return end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user