Simplified isSteppable in Field

This commit is contained in:
Bokros Bálint 2016-05-14 13:03:16 +02:00
parent a0c2c24328
commit 367c313af3

View File

@ -7,10 +7,7 @@ public class Field extends cicaprojekt.Tile {
@Override @Override
public boolean isSteppable() { public boolean isSteppable() {
if (boxStack.isEmpty()) return boxStack.isEmpty();
return true;
return false;
} }
public void onEntry(PlayerBase playerBase) { public void onEntry(PlayerBase playerBase) {