summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--item_transport.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/item_transport.lua b/item_transport.lua
index 4f8d5d6..12d9e7a 100644
--- a/item_transport.lua
+++ b/item_transport.lua
@@ -267,6 +267,7 @@ luaentity.register_entity("pipeworks:tubed_item", {
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(self.start_pos)
self:setvelocity(velocity)
else
if drop_pos then