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