mirror of
https://github.com/joe7575/techpack.git
synced 2025-02-18 10:43:46 +01:00
Pusher push_item bugfix
This commit is contained in:
@ -62,6 +62,9 @@ function tubelib.get_neighbor_pos(pos, side)
|
||||
dir = ((facedir + node.param2) % 4) + 1
|
||||
end
|
||||
local npos, ndir = tubelib.get_next_tube(pos, dir)
|
||||
if ndir == nil then
|
||||
return pos, SideToFacedir[side]
|
||||
end
|
||||
local node = minetest.get_node(npos)
|
||||
if tubelib.TubeNames[node.name] then
|
||||
npos, ndir = remote_node(npos, ndir)
|
||||
|
Reference in New Issue
Block a user