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

@ -296,7 +296,6 @@ luaentity.register_entity("pipeworks:tubed_item", {
end end
else else
if minetest.get_item_group(rev_node.name,"tube") == 1 then 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) velocity = vector.multiply(velocity, -1)
self:setpos(vector.subtract(self.start_pos, vector.multiply(vel, moved_by - 1))) self:setpos(vector.subtract(self.start_pos, vector.multiply(vel, moved_by - 1)))
self:setvelocity(velocity) self:setvelocity(velocity)