biomes is now an two-dimensional array in CharSetBlocks

- Fixes #1878
This commit is contained in:
dordsor21 2022-07-17 17:33:51 +01:00
parent 72f9b34f15
commit a1babd5ec9
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -364,7 +364,7 @@ public class CharSetBlocks extends CharBlocks implements IChunkSet {
minSectionPosition = layer;
if (biomes != null) {
BiomeType[][] tmpBiomes = new BiomeType[sectionCount][64];
System.arraycopy(biomes, 0, tmpBiomes, 64 * diff, biomes.length);
System.arraycopy(biomes, 0, tmpBiomes, diff, biomes.length);
biomes = tmpBiomes;
}
if (light != null) {