diff --git a/src/server/shapes/base_shape.ts b/src/server/shapes/base_shape.ts index 7429c6a6d..26f11bc71 100644 --- a/src/server/shapes/base_shape.ts +++ b/src/server/shapes/base_shape.ts @@ -236,7 +236,7 @@ export abstract class Shape { } else { block = dimension.getBlock(blockLoc); } - } while (!block || !Jobs.inContext()); + } while (!block && Jobs.inContext()); if (!activeMask.empty() && !activeMask.matchesBlock(block)) continue; blocksAndChunks.push(block); blocksAffected++;