Skip to content

Commit 86463bb

Browse files
author
Bytekeeper
committed
Fixing Agent.toString()
1 parent 00a2050 commit 86463bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/bk/ass/sim/Agent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ public String toString() {
203203
+ ", "
204204
+ y
205205
+ "), hp: "
206-
+ (healthShifted >> 8)
206+
+ getHealth()
207207
+ ", sh: "
208-
+ (shieldsShifted >> 8);
208+
+ getShields();
209209
}
210210

211211
public Agent setDetected(boolean detected) {

0 commit comments

Comments
 (0)