From af890cf21d64adbec31f91dc68c86e2d32bf69c0 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sun, 12 Sep 2021 12:47:08 +0100 Subject: [PATCH] Fix build (cherry picked from commit dc2e1bec1eca4d7f8d24bd40e32c385d91af3099) --- .../fastasyncworldedit/core/function/mask/AngleMask.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AngleMask.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AngleMask.java index cdb370e62..1d1e21321 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AngleMask.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AngleMask.java @@ -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