From c91a1d051cffc2f2a08507e99411e065def03c94 Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Sat, 7 May 2016 15:23:47 +0200 Subject: [PATCH] Tile.hasBox() fixed. --- cicaprojekt/Tile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicaprojekt/Tile.java b/cicaprojekt/Tile.java index c784559..fcb2f4a 100644 --- a/cicaprojekt/Tile.java +++ b/cicaprojekt/Tile.java @@ -80,6 +80,6 @@ public abstract class Tile { } public boolean hasBox() { - return boxStack.isEmpty(); + return !boxStack.isEmpty(); } }