[TASK] Added System.out debug

This commit is contained in:
Jeroen Ketelaar
2019-05-23 04:36:48 +02:00
parent fa39956ef0
commit 89316455ff
12 changed files with 36 additions and 22 deletions
+5 -2
View File
@@ -26,7 +26,10 @@ public class DMap extends AbstractDebugger {
@Override
public void toggle() {
enabled = !enabled;
System.out.println("Location: " + Players.getMyPlayer().getLocation());
System.out.println("Plane: " + Game.getPlane());
if (enabled) {
System.out.println("Location: " + Players.getMyPlayer().getLocation());
System.out.println("Plane: " + Game.getPlane());
}
}
}