mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +00:00
This commit is contained in:
parent
7cf7c0712f
commit
dfb0c5671b
@ -178,12 +178,14 @@ public class BukkitChunk_All extends IntFaweChunk<Chunk, BukkitQueue_All> {
|
|||||||
int xx = bx + x;
|
int xx = bx + x;
|
||||||
int biome = biomes[index] & 0xFF;
|
int biome = biomes[index] & 0xFF;
|
||||||
if (biome == 0) continue;
|
if (biome == 0) continue;
|
||||||
if (biome == -1) biome = 0;
|
if (biome == 255) biome = 0;
|
||||||
Biome bukkitBiome = adapter.getBiome(biome);
|
Biome bukkitBiome = adapter.getBiome(biome);
|
||||||
|
if (bukkitBiome != null) {
|
||||||
world.setBiome(xx, zz, bukkitBiome);
|
world.setBiome(xx, zz, bukkitBiome);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else if (index != 0) {
|
} else if (index != 0) {
|
||||||
if (place) {
|
if (place) {
|
||||||
layer--;
|
layer--;
|
||||||
|
Loading…
Reference in New Issue
Block a user