diff --git a/core/src/main/java/com/boydti/fawe/object/mask/AdjacentMask.java b/core/src/main/java/com/boydti/fawe/object/mask/AdjacentMask.java index 18f951be..a172f683 100644 --- a/core/src/main/java/com/boydti/fawe/object/mask/AdjacentMask.java +++ b/core/src/main/java/com/boydti/fawe/object/mask/AdjacentMask.java @@ -14,8 +14,8 @@ public class AdjacentMask extends BlockMask { @Override public boolean test(Vector v) { double x = v.x; - double y = v.x; - double z = v.x; + double y = v.y; + double z = v.z; v.x = x + 1; if (super.test(v)) { v.x = x; return true; } v.x = x - 1;