@@ -21,7 +21,6 @@ import com.lambda.config.AutomationConfig.Companion.setDefaultAutomationConfig
2121import com.lambda.context.SafeContext
2222import com.lambda.interaction.construction.blueprint.TickingBlueprint.Companion.tickingBlueprint
2323import com.lambda.interaction.construction.simulation.result.BuildResult
24- import com.lambda.interaction.construction.simulation.result.Contextual
2524import com.lambda.interaction.construction.simulation.result.results.BreakResult
2625import com.lambda.interaction.construction.simulation.result.results.InteractResult
2726import com.lambda.interaction.construction.verify.TargetState
@@ -87,8 +86,7 @@ object Printer : Module(
8786 * @return true if the build result should be built, false if it should be ignored
8887 */
8988 private fun SafeContext.filterBuildResults (buildResult : BuildResult ): Boolean {
90- return if (buildResult !is Contextual ||
91- buildResult is InteractResult && ! flattenModeApply.placing ||
89+ return if (buildResult is InteractResult && ! flattenModeApply.placing ||
9290 buildResult is BreakResult && ! flattenModeApply.breaking) true
9391 else isInFlatten(buildResult.pos, flattenMode, sneakLowersFlatten, baritoneSelection, inverseSelection)
9492 }
@@ -105,7 +103,7 @@ object Printer : Module(
105103 override val description : String
106104 ) : NamedEnum, Describable {
107105 BreakOnly (" Break Only" , true , false , " Only applies flattening logic to blocks that are being broken" ),
108- PlaceOnly (" Place Only" , false , true , " Only applies flattening logic to blocks that are being placed" ),
106+ InteractOnly (" Place/Interact Only" , false , true , " Only applies flattening logic to blocks that are being placed" ),
109107 Both (" Both" , true , true , " Applies flattening logic to all blocks, whether being placed or broken" )
110108 }
111109}
0 commit comments