mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
use cached maxY
This commit is contained in:
parent
3850944a81
commit
c5b90ba954
@ -2686,7 +2686,7 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int y = world.getMaxY(); y >= 1; --y) {
|
for (int y = maxY; y >= 1; --y) {
|
||||||
BlockVector3 pt = BlockVector3.at(x, y, z);
|
BlockVector3 pt = BlockVector3.at(x, y, z);
|
||||||
BlockType id = getBlock(pt).getBlockType();
|
BlockType id = getBlock(pt).getBlockType();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user