We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39167e9 commit a28ea6dCopy full SHA for a28ea6d
1 file changed
src/main/kotlin/com/lambda/interaction/construction/simulation/BuildSimulator.kt
@@ -407,6 +407,7 @@ object BuildSimulator {
407
val hitPos = if (!place.airPlace.isEnabled && (currentState.isAir || statePromoting))
408
pos.offset(neighbor) else pos
409
val hitSide = neighbor.opposite
410
+ if (!world.worldBorder.contains(hitPos)) return@forEach
411
412
val voxelShape = blockState(hitPos).getOutlineShape(world, hitPos).let { outlineShape ->
413
if (!outlineShape.isEmpty || !place.airPlace.isEnabled) outlineShape
0 commit comments