Fix biome history on 1.19

This commit is contained in:
dordsor21 2022-06-15 18:52:49 +01:00
parent cb6e200ca6
commit 462bba4f87
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

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