Do update the moving trace.

This commit is contained in:
asofold 2015-01-31 00:17:37 +01:00
parent ce406f3280
commit 3f0644930a

View File

@ -796,16 +796,15 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
final Location ref = player.getVehicle().getLocation(useLoc); final Location ref = player.getVehicle().getLocation(useLoc);
mData.resetPositions(ref); mData.resetPositions(ref);
useLoc.setWorld(null); useLoc.setWorld(null);
mData.resetTrace(player, ref, time); mData.updateTrace(player, ref, time);
} }
else if (!fromWorldName.equals(toWorldName)) { else if (!fromWorldName.equals(toWorldName)) {
mData.resetPositions(to); mData.resetPositions(to);
mData.resetTrace(player, to, time); mData.resetTrace(player, to, time);
} }
else{ else{
// Slightly redundant at present. mData.setTo(to); // Called on lowest too.
mData.setTo(to); mData.updateTrace(player, to, time);
mData.resetTrace(player, to, time);
} }
} }
else { else {