Fix biome history on 1.19

Dieser Commit ist enthalten in:
dordsor21 2022-06-15 18:52:49 +01:00
Ursprung cb6e200ca6
Commit 462bba4f87
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -184,7 +184,7 @@ public class PaperweightGetBlocks_Copy implements IChunkGet {
biomes = new PalettedContainer[getSectionCount()]; biomes = new PalettedContainer[getSectionCount()];
} }
if (biomeData instanceof PalettedContainer<Holder<Biome>> palettedContainer) { if (biomeData instanceof PalettedContainer<Holder<Biome>> palettedContainer) {
biomes[layer] = palettedContainer; biomes[layer] = palettedContainer.copy();
} else { } else {
LOGGER.error( LOGGER.error(
"Cannot correctly save biomes to history. Expected class type {} but got {}", "Cannot correctly save biomes to history. Expected class type {} but got {}",