diff --git a/cicaprojekt/Player.java b/cicaprojekt/Player.java index 8218ecf..f340f4e 100644 --- a/cicaprojekt/Player.java +++ b/cicaprojekt/Player.java @@ -26,7 +26,7 @@ public class Player extends PlayerBase { public void boxLift() { if(!isDestroyed()) - boxLifted = (Box) currentTile.getAdjacentTile(facingDirection).getABox(); + boxLifted = currentTile.getAdjacentTile(facingDirection).getABox(); } public void boxDrop() {