Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-27 03:12:37 +01:00
fix: bring default min/max y in line with upstream in AbstractRegion (#1992)
- Fixes #1987
Dieser Commit ist enthalten in:
Ursprung
e36b838227
Commit
bf28ab47b8
@ -223,23 +223,11 @@ public abstract class AbstractRegion extends AbstractSet<BlockVector3> implement
|
|||||||
// Sub-class utilities
|
// Sub-class utilities
|
||||||
|
|
||||||
protected final int getWorldMinY() {
|
protected final int getWorldMinY() {
|
||||||
//FAWE start > Server default based on version
|
return world == null ? Integer.MIN_VALUE : world.getMinY();
|
||||||
return world == null ? WorldEdit
|
|
||||||
.getInstance()
|
|
||||||
.getPlatformManager()
|
|
||||||
.queryCapability(Capability.WORLD_EDITING)
|
|
||||||
.versionMinY() : world.getMinY();
|
|
||||||
//FAWE end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final int getWorldMaxY() {
|
protected final int getWorldMaxY() {
|
||||||
//FAWE start > Server default based on version
|
return world == null ? Integer.MAX_VALUE : world.getMaxY();
|
||||||
return world == null ? WorldEdit
|
|
||||||
.getInstance()
|
|
||||||
.getPlatformManager()
|
|
||||||
.queryCapability(Capability.WORLD_EDITING)
|
|
||||||
.versionMaxY() : world.getMaxY();
|
|
||||||
//FAWE end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//FAWE start
|
//FAWE start
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren