Skip to content

Commit 409459c

Browse files
committed
Fix recurseHollow behaving incorrectly
by yet again turning a mutable bv3 into an immutable one
1 parent 1312e0a commit 409459c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3664,7 +3664,7 @@ private void recurseHollow(Region region, BlockVector3 origin, Set<BlockVector3>
36643664
}
36653665

36663666
for (BlockVector3 recurseDirection : recurseDirections) {
3667-
queue.add(current.add(recurseDirection));
3667+
queue.add(current.toImmutable().add(recurseDirection));
36683668
}
36693669
}
36703670
}

0 commit comments

Comments
 (0)