Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Fix biome setting in 1.15
Dieser Commit ist enthalten in:
Ursprung
34d40cb856
Commit
5225099ec0
@ -328,7 +328,7 @@ public class BukkitGetBlocks_1_15 extends CharGetBlocks {
|
|||||||
final Biome craftBiome = BukkitAdapter.adapt(biome);
|
final Biome craftBiome = BukkitAdapter.adapt(biome);
|
||||||
BiomeBase nmsBiome = CraftBlock.biomeToBiomeBase(craftBiome);
|
BiomeBase nmsBiome = CraftBlock.biomeToBiomeBase(craftBiome);
|
||||||
for (int y = 0; y < FaweCache.IMP.WORLD_HEIGHT; y++) {
|
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);
|
final Biome craftBiome = BukkitAdapter.adapt(biome);
|
||||||
BiomeBase nmsBiome = CraftBlock.biomeToBiomeBase(craftBiome);
|
BiomeBase nmsBiome = CraftBlock.biomeToBiomeBase(craftBiome);
|
||||||
for (int y = 0; y < FaweCache.IMP.WORLD_HEIGHT; y++) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren