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 df8bde411..a8b3ccf30 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 @@ -97,7 +97,6 @@ public class CharSetBlocks extends CharBlocks implements IChunkSet { @Override public boolean setBiome(int x, int y, int z, BiomeType biome) { updateSectionIndexRange(y >> 4); - y -= minSectionPosition << 4; int layer = (y >> 4) - minSectionPosition; if (biomes == null) { biomes = new BiomeType[sectionCount][]; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/BiomeCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/BiomeCommands.java index d0c338b52..e9a97ab68 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/BiomeCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/BiomeCommands.java @@ -193,7 +193,7 @@ public class BiomeCommands { player.print(Caption.of( "worldedit.setbiome.changed", - TextComponent.of(visitor.getAffected()) + TextComponent.of(visitor.getAffected() / (editSession.getMaxY() - editSession.getMinY())) )); }