Simplified hasZPM in Tile
This commit is contained in:
parent
830899d0b9
commit
cb26b8e97d
@ -83,10 +83,7 @@ public abstract class Tile {
|
||||
}
|
||||
|
||||
public boolean hasZPM() {
|
||||
if(zpmOnTile == null)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
return zpmOnTile != null;
|
||||
}
|
||||
|
||||
public boolean hasBox() {
|
||||
|
Loading…
Reference in New Issue
Block a user