mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix biome history on 1.19
This commit is contained in:
parent
cb6e200ca6
commit
462bba4f87
@ -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 {}",
|
||||||
|
Loading…
Reference in New Issue
Block a user