Skip to content

Commit 2ea3626

Browse files
committed
resolve rebase issue
1 parent df34450 commit 2ea3626

File tree

1 file changed

+2
-2
lines changed
  • worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask

1 file changed

+2
-2
lines changed

worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AngleMask.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ private boolean adjacentAir(Extent extent, BlockVector3 base) {
133133
int y = base.y();
134134
// we expect the data for blocks above and below to be loaded already
135135
// in which case caching/reading from cache has more overhead
136-
if (y != maxY && !fastMask.test(base.getStateRelativeY(extent, 1))) {
136+
if (y != maxY && !SolidBlockMask.isSolid(base.getStateRelativeY(extent, 1))) {
137137
return true;
138138
}
139-
if (y != minY && !fastMask.test(base.getStateRelativeY(extent, -1))) {
139+
if (y != minY && !SolidBlockMask.isSolid(base.getStateRelativeY(extent, -1))) {
140140
return true;
141141
}
142142
// other positions might be in different chunks, go a slower, cached path there

0 commit comments

Comments
 (0)