mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-25 02:10:23 +01:00
remove "reversed" warning message
(not needed now that tube breaking is reliable)
This commit is contained in:
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user