Simplified isSteppable in Field
This commit is contained in:
@ -7,10 +7,7 @@ public class Field extends cicaprojekt.Tile {
|
||||
|
||||
@Override
|
||||
public boolean isSteppable() {
|
||||
if (boxStack.isEmpty())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return boxStack.isEmpty();
|
||||
}
|
||||
|
||||
public void onEntry(PlayerBase playerBase) {
|
||||
|
Reference in New Issue
Block a user