Skip to content

Commit

Permalink
Do update the moving trace.
Browse files Browse the repository at this point in the history
  • Loading branch information
asofold committed Jan 30, 2015
1 parent ce406f3 commit 3f06449
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -796,16 +796,15 @@ public void onPlayerMoveMonitor(final PlayerMoveEvent event) {
final Location ref = player.getVehicle().getLocation(useLoc);
mData.resetPositions(ref);
useLoc.setWorld(null);
mData.resetTrace(player, ref, time);
mData.updateTrace(player, ref, time);
}
else if (!fromWorldName.equals(toWorldName)) {
mData.resetPositions(to);
mData.resetTrace(player, to, time);
}
else{
// Slightly redundant at present.
mData.setTo(to);
mData.resetTrace(player, to, time);
mData.setTo(to); // Called on lowest too.
mData.updateTrace(player, to, time);
}
}
else {
Expand Down

0 comments on commit 3f06449

Please sign in to comment.