Fix adjacent mask
This commit is contained in:
parent
cbade2cec0
commit
f2e576a14f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user