This commit is contained in:
dordsor21 2021-12-28 23:02:48 +00:00
parent f6319d36a1
commit 36857a5064
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B
2 changed files with 1 additions and 2 deletions

View File

@ -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][];

View File

@ -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()))
));
}