Simplified isSteppable in Field
This commit is contained in:
parent
a0c2c24328
commit
367c313af3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user