Simplified hasZPM in Tile

This commit is contained in:
Bokros Bálint 2016-05-14 13:22:22 +02:00
parent 830899d0b9
commit cb26b8e97d

View File

@ -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() {