Skip to content

Commit d15a366

Browse files
committed
Only allow ignoring blocks when they are in airspace
1 parent b0892a3 commit d15a366

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/construction/simulation

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/construction/simulation/BuildSimulator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ object BuildSimulator {
7474
}
7575

7676
/* block should be ignored */
77-
if (state.block in TaskFlow.ignoredBlocks) {
77+
if (state.block in TaskFlow.ignoredBlocks && target.type == TargetState.Type.AIR) {
7878
return BuildResult.Ignored(pos)
7979
}
8080

0 commit comments

Comments
 (0)