We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bd5068 commit 563137aCopy full SHA for 563137a
1 file changed
src/main/kotlin/com/lambda/module/modules/player/Scaffold.kt
@@ -74,8 +74,7 @@ object Scaffold : Module(
74
init {
75
listen<TickEvent.Pre> {
76
val beneath = player.blockPos.offset(Direction.DOWN, if (isKeyPressed(descend.code)) 2 else 1)
77
- val placements = getPlacements(beneath)
78
- if (placements == null) return@listen
+ val placements = getPlacements(beneath) ?: return@listen
79
placements
80
.associate { it to TargetState.Solid }
81
.toBlueprint()
0 commit comments