mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix biome setting in 1.15
This commit is contained in:
parent
34d40cb856
commit
5225099ec0
@ -328,7 +328,7 @@ public class BukkitGetBlocks_1_15 extends CharGetBlocks {
|
||||
final Biome craftBiome = BukkitAdapter.adapt(biome);
|
||||
BiomeBase nmsBiome = CraftBlock.biomeToBiomeBase(craftBiome);
|
||||
for (int y = 0; y < FaweCache.IMP.WORLD_HEIGHT; y++) {
|
||||
currentBiomes.setBiome(x, y, z, nmsBiome);
|
||||
currentBiomes.setBiome(x >> 2, y >> 2, z >> 2, nmsBiome);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -340,7 +340,7 @@ public class BukkitGetBlocks_1_15_2 extends CharGetBlocks {
|
||||
final Biome craftBiome = BukkitAdapter.adapt(biome);
|
||||
BiomeBase nmsBiome = CraftBlock.biomeToBiomeBase(craftBiome);
|
||||
for (int y = 0; y < FaweCache.IMP.WORLD_HEIGHT; y++) {
|
||||
currentBiomes.setBiome(x, y, z, nmsBiome);
|
||||
currentBiomes.setBiome(x >> 2, y >> 2, z >> 2, nmsBiome);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user