Fixed ZPM spawn on Fields with Boxes

Olyan mezőre is rakott ZPM-et, ahol doboz volt, így nem lehetett látni, hogy van-e ott ZPM.
This commit is contained in:
muskenum 2016-05-15 16:41:44 +02:00
parent a048de80a8
commit 7cbb201451
1 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ public class Field extends cicaprojekt.Tile {
@Override
public boolean canHazZPM() {
return true;
if(boxStack.size() > 0) return false;
else return true;
}
}