mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-13 14:00:32 +01:00
improve connected_chests fix for injector
This commit is contained in:
parent
5c7d2ea9fa
commit
f48bad74e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user