Fixed build error

This commit is contained in:
Anuken
2018-08-30 09:58:18 -04:00
parent 5884c0bcb3
commit 9816bab151
2 changed files with 6 additions and 3 deletions
@@ -41,6 +41,12 @@ public class FortressGenerator{
if(Vector2.dst(x, y, enemyX, enemyY) > coreDst){
continue;
}
Block turret = turrets.first();
if(gen.random.chance(0.01) && gen.canPlace(x, y, turret)){
gen.setBlock(x, y, turret, team);
}
}
}