From 1856974cc7a774b3bfe96795603c762aae140f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bokros=20B=C3=A1lint?= Date: Sat, 14 May 2016 13:13:44 +0200 Subject: [PATCH] Removed redundant cast --- cicaprojekt/Player.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {