mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Fix adjacent mask
This commit is contained in:
parent
cbade2cec0
commit
f2e576a14f
@ -14,8 +14,8 @@ public class AdjacentMask extends BlockMask {
|
|||||||
@Override
|
@Override
|
||||||
public boolean test(Vector v) {
|
public boolean test(Vector v) {
|
||||||
double x = v.x;
|
double x = v.x;
|
||||||
double y = v.x;
|
double y = v.y;
|
||||||
double z = v.x;
|
double z = v.z;
|
||||||
v.x = x + 1;
|
v.x = x + 1;
|
||||||
if (super.test(v)) { v.x = x; return true; }
|
if (super.test(v)) { v.x = x; return true; }
|
||||||
v.x = x - 1;
|
v.x = x - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user