Removed redundant cast
This commit is contained in:
parent
2564aca663
commit
1856974cc7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user