Zone wave bugfix / New tests / More "encouragement"

This commit is contained in:
Anuken
2019-03-21 19:19:12 -04:00
parent b48110db3b
commit ee06e620c6
5 changed files with 38 additions and 4 deletions

View File

@@ -95,7 +95,7 @@ public class MapGenerator extends Generator{
tiles[x][y].setBlock(Blocks.air);
}
if(tiles[x][y].block() == Blocks.spawn){
if(tiles[x][y].block() == Blocks.spawn && enemySpawns != -1){
enemies.add(new Point2(x, y));
tiles[x][y].setBlock(Blocks.air);
}