3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 03:50:06 +01:00
Dieser Commit ist enthalten in:
dordsor21 2021-09-12 12:47:08 +01:00
Ursprung 41c0ea98f1
Commit dc2e1bec1e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -146,7 +146,7 @@ public class AngleMask extends SolidBlockMask implements ResettableMask {
int z = vector.getBlockZ();
if ((lastX == (lastX = x) & lastZ == (lastZ = z))) {
int height = getHeight(extent, x, y, z);
int height = getHeight(getExtent(), x, y, z);
if (y <= height) {
return overlay ? (lastValue && y == height) : lastValue;
}
@ -154,15 +154,15 @@ public class AngleMask extends SolidBlockMask implements ResettableMask {
MutableBlockVector3 mutable = new MutableBlockVector3(x, y, z);
if (!mask.test(extent, mutable)) {
if (!mask.test(getExtent(), mutable)) {
return false;
}
if (overlay) {
if (y < maxY && !adjacentAir(extent, mutable)) {
if (y < maxY && !adjacentAir(getExtent(), mutable)) {
return lastValue = false;
}
}
return testSlope(extent, x, y, z);
return testSlope(getExtent(), x, y, z);
}
@Override