We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78794a7 commit 359550fCopy full SHA for 359550f
src/worldgen/structure/WorldgenStructure.ts
@@ -63,7 +63,7 @@ export abstract class WorldgenStructure {
63
64
const pos = this.findGenerationPoint(chunkX, chunkZ, random, context)
65
if (pos === undefined) return undefined
66
- const biome = context.biomeSource.getBiome(pos[0]>>2, pos[1], pos[2]>>2, context.randomState.sampler)
+ const biome = context.biomeSource.getBiome(pos[0]>>2, pos[1]>>2, pos[2]>>2, context.randomState.sampler)
67
68
return [...this.settings.validBiomes.getEntries()].findIndex((b) => b.key()?.equals(biome)) >= 0 ? pos : undefined
69
}
0 commit comments