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