diff options
Diffstat (limited to 'src/ch/epfl/xblast/server/debug/GameStatePrinter.java')
-rw-r--r-- | src/ch/epfl/xblast/server/debug/GameStatePrinter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/debug/GameStatePrinter.java b/src/ch/epfl/xblast/server/debug/GameStatePrinter.java index 33be70c..fe4c446 100644 --- a/src/ch/epfl/xblast/server/debug/GameStatePrinter.java +++ b/src/ch/epfl/xblast/server/debug/GameStatePrinter.java | |||
@@ -66,7 +66,7 @@ public final class GameStatePrinter { | |||
66 | if (p != null) | 66 | if (p != null) |
67 | return GameStatePrinter.stringForPlayer(p); | 67 | return GameStatePrinter.stringForPlayer(p); |
68 | 68 | ||
69 | if (s.blastedCells().contains(c)) | 69 | if (s.blastedCells().contains(c) && s.board().blockAt(c).isDestructible()) |
70 | return ANSIColor.MAGENTA.coloredText("**"); | 70 | return ANSIColor.MAGENTA.coloredText("**"); |
71 | 71 | ||
72 | return GameStatePrinter.stringForBlock(s.board().blockAt(c)); | 72 | return GameStatePrinter.stringForBlock(s.board().blockAt(c)); |