Also debug set back in the moving listener.

This commit is contained in:
asofold 2013-01-07 19:09:34 +01:00
parent 4b92889059
commit 7ee13cce09

View File

@ -482,6 +482,9 @@ public class MovingListener extends CheckListener{
// Remember where we send the player to. // Remember where we send the player to.
data.teleported = newTo; data.teleported = newTo;
if (cc.debug){
System.out.println(player.getName() + " set back to: " + newTo.getWorld() + CheckUtils.fdec3.format(newTo.getX()) + ", " + CheckUtils.fdec3.format(newTo.getY()) + ", " + CheckUtils.fdec3.format(newTo.getZ()));
}
} }
// Set positions. // Set positions.