Debug code removed.
This commit is contained in:
@@ -2760,8 +2760,6 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
}
|
||||
|
||||
public int getSeeInvis() {
|
||||
if (this.getDebug(8)) //<-added for see invis debug devcmd
|
||||
return 10000;
|
||||
return this.seeInvis;
|
||||
}
|
||||
|
||||
@@ -4389,21 +4387,14 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
this.stopMovement(newLoc);
|
||||
return;
|
||||
}
|
||||
|
||||
if (newLoc.equals(this.getEndLoc())) {
|
||||
this.stopMovement(newLoc);
|
||||
if (this.getDebug(1))
|
||||
ChatManager.chatSystemInfo(this,
|
||||
"Arrived at End location. " + this.getEndLoc());
|
||||
return;
|
||||
//Next upda
|
||||
}
|
||||
|
||||
setLoc(newLoc);
|
||||
|
||||
if (this.getDebug(1))
|
||||
ChatManager.chatSystemInfo(this,
|
||||
"Distance to target " + this.getEndLoc().distance2D(this.getLoc()) + " speed " + this.getSpeed());
|
||||
|
||||
if (this.getStamina() < 10)
|
||||
MovementManager.sendOOS(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user