Debug code removed.

This commit is contained in:
2024-03-28 04:11:46 -04:00
parent 045b101d7b
commit b8a1081544
9 changed files with 52 additions and 136 deletions
+1 -10
View File
@@ -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);