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:
parent
a048de80a8
commit
7cbb201451
@ -25,6 +25,7 @@ public class Field extends cicaprojekt.Tile {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canHazZPM() {
|
public boolean canHazZPM() {
|
||||||
return true;
|
if(boxStack.size() > 0) return false;
|
||||||
|
else return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user