add a warning if a tubed item turns around
(too many means that something is wrong with that tube circuit)
This commit is contained in:
parent
b46231f543
commit
0e8a82fdba
@ -262,6 +262,7 @@ luaentity.register_entity("pipeworks:tubed_item", {
|
||||
return
|
||||
end
|
||||
else
|
||||
print("[Pipeworks] Warning - tubed item had to reverse direction at "..minetest.pos_to_string(self.start_pos))
|
||||
velocity = vector.multiply(velocity, -1)
|
||||
self:setvelocity(velocity)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user