File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/kotlin/com/lambda/interaction/construction/simulation/checks Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,15 @@ import com.lambda.context.AutomatedSafeContext
2121import com.lambda.interaction.construction.result.results.GenericResult
2222import com.lambda.interaction.construction.result.results.PreSimResult
2323import com.lambda.interaction.construction.simulation.SimChecker
24+ import com.lambda.interaction.construction.simulation.SimCheckerDsl
2425import com.lambda.interaction.construction.simulation.SimInfo
2526import com.lambda.interaction.construction.verify.TargetState
2627import com.lambda.util.player.gamemode
2728import com.lambda.util.world.WorldUtils.isLoaded
2829import net.minecraft.block.OperatorBlock
2930
3031object RequirementChecks : SimChecker<PreSimResult>() {
32+ @SimCheckerDsl
3133 context(automatedSafeContext: AutomatedSafeContext )
3234 fun SimInfo.checkRequirements (): Boolean = with (automatedSafeContext) {
3335 // the chunk is not loaded
You can’t perform that action at this time.
0 commit comments