mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix #1490
This commit is contained in:
parent
f6319d36a1
commit
36857a5064
@ -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][];
|
||||
|
@ -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()))
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user