Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3298,7 +3298,7 @@ public int hollowOutRegion(Region region, int thickness, Pattern pattern, Mask m
outer:
for (BlockVector3 position : region) {
for (BlockVector3 recurseDirection : recurseDirections) {
BlockVector3 neighbor = position.add(recurseDirection);
BlockVector3 neighbor = mutable.setComponents(position).add(recurseDirection);
Comment thread
dordsor21 marked this conversation as resolved.

if (outside.contains(neighbor)) {
newOutside.add(position);
Expand All @@ -3313,7 +3313,7 @@ public int hollowOutRegion(Region region, int thickness, Pattern pattern, Mask m
outer:
for (BlockVector3 position : region) {
for (BlockVector3 recurseDirection : recurseDirections) {
BlockVector3 neighbor = position.add(recurseDirection);
BlockVector3 neighbor = mutable.setComponents(position).add(recurseDirection);

if (outside.contains(neighbor)) {
continue outer;
Expand Down