1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-11-17 07:50:31 +01:00

remove "reversed" warning message

(not needed now that tube breaking is reliable)
This commit is contained in:
Vanessa Ezekowitz 2017-04-07 03:35:24 -04:00
parent f3a74bb618
commit bea570555a

View File

@ -296,7 +296,6 @@ luaentity.register_entity("pipeworks:tubed_item", {
end
else
if minetest.get_item_group(rev_node.name,"tube") == 1 then
print("[Pipeworks] Warning - tubed item had to reverse direction at "..minetest.pos_to_string(self.start_pos))
velocity = vector.multiply(velocity, -1)
self:setpos(vector.subtract(self.start_pos, vector.multiply(vel, moved_by - 1)))
self:setvelocity(velocity)