From a1babd5ec9294ad3e833498cce96e57da785140d Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sun, 17 Jul 2022 17:33:51 +0100 Subject: [PATCH] biomes is now an two-dimensional array in CharSetBlocks - Fixes #1878 --- .../core/queue/implementation/blocks/CharSetBlocks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/implementation/blocks/CharSetBlocks.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/implementation/blocks/CharSetBlocks.java index 3cbb5ccdf..291a3cf57 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/implementation/blocks/CharSetBlocks.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/implementation/blocks/CharSetBlocks.java @@ -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) {