mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Oops other way around
This commit is contained in:
parent
bdcbdd1366
commit
8b9c978d1b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class StructureGenerator implements GeneratorTask {
|
|||
}
|
||||
|
||||
private void placeRandomSpawnTower(GeneratorContext ctx, int x) {
|
||||
int surface = this.filled ? ctx.getZone().getSurface()[x]
|
||||
int surface = !this.filled ? ctx.getZone().getSurface()[x]
|
||||
: ctx.getHeight() / 8 + ctx.nextInt(Math.max(1, ctx.nextInt(ctx.getHeight() / 8)));
|
||||
|
||||
if(!spawnTowers.isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue