We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f169168 commit 81998b6Copy full SHA for 81998b6
src/main/kotlin/com/lambda/module/modules/player/Printer.kt
@@ -48,6 +48,8 @@ object Printer : Module(
48
}.getOrDefault(false)
49
50
private val range by setting("Range", 5, 1..7, 1).group(Group.General)
51
+ private val air by setting("Air", false).group(Group.General)
52
+
53
override val buildConfig = BuildSettings(this, Group.Build).apply {
54
editTyped(::pathing, ::stayInRange) { defaultValue(false) }
55
}
@@ -88,6 +90,7 @@ object Printer : Module(
88
90
.asSequence()
89
91
.map { it.blockPos }
92
.associateWith { TargetState.State(schematicWorld.getBlockState(it)) }
93
+ .filter { air || !it.value.blockState.isAir }
94
}.build(finishOnDone = false).run()
95
96
0 commit comments