mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
Fix single generator biomes
This commit is contained in:
parent
4f63cdf560
commit
9fe1e53d9d
1 changed files with 8 additions and 1 deletions
|
@ -255,7 +255,14 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap
|
|||
public ChunkData generateChunkData(World world, Random random, int cx, int cz, BiomeGrid grid) {
|
||||
GenChunk result = this.chunkSetter;
|
||||
if (this.getPlotGenerator() instanceof SingleWorldGenerator) {
|
||||
if (result.cd != null) return result.cd;
|
||||
if (result.cd != null) {
|
||||
for (int x = 0; x < 16; x++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
grid.setBiome(x, z, Biome.PLAINS);
|
||||
}
|
||||
}
|
||||
return result.cd;
|
||||
}
|
||||
}
|
||||
// Set the chunk location
|
||||
result.setChunk(new ChunkWrapper(world.getName(), cx, cz));
|
||||
|
|
Loading…
Reference in a new issue