Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 20:10:06 +01:00
Remove Y limits if a region has no world
0cb1eea55b311473c9468f608a0090b93cf5de91 Co-Authored-By: Octavia Togami <2093023+octylFractal@users.noreply.github.com>
Dieser Commit ist enthalten in:
Ursprung
197389bd32
Commit
cb088ff3e5
@ -211,11 +211,11 @@ public abstract class AbstractRegion extends AbstractSet<BlockVector3> implement
|
|||||||
// Sub-class utilities
|
// Sub-class utilities
|
||||||
|
|
||||||
protected final int getWorldMinY() {
|
protected final int getWorldMinY() {
|
||||||
return world == null ? 0 : world.getMinY();
|
return world == null ? Integer.MIN_VALUE : world.getMinY();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final int getWorldMaxY() {
|
protected final int getWorldMaxY() {
|
||||||
return world == null ? 255 : world.getMaxY();
|
return world == null ? Integer.MAX_VALUE : world.getMaxY();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren