File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/kotlin/com/lambda
interaction/construction/simulation/context Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ data class InteractContext(
6161 fun requestDependencies (request : InteractRequest ): Boolean {
6262 val hotbarRequest = HotbarRequest (hotbarIndex, this ).submit(queueIfMismatchedStage = false )
6363 val validRotation = if (request.interactConfig.rotate) {
64- rotationRequest.submit(queueIfMismatchedStage = false ).done && currentDirIsValid
64+ ( rotationRequest.submit(queueIfMismatchedStage = false ).done || interactConfig.airPlace.isEnabled) && currentDirIsValid
6565 } else true
6666 return hotbarRequest.done && validRotation
6767 }
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ object ElytraFly : Module(
138138 if (mc.options.rightKey.isPressed) vec = vec.add(Vec3d .fromPolar(0f , yaw + 90f ))
139139 if (mc.options.jumpKey.isPressed) vec = vec.add(Vec3d (0.0 , 1.0 , 0.0 ))
140140 if (mc.options.sneakKey.isPressed) vec = vec.add(Vec3d (0.0 , - 1.0 , 0.0 ))
141- if (vec.lengthSquared() < 1e - 4 && player.hasFirework) {
141+ if (vec == = Vec3d . ZERO && player.hasFirework) {
142142 if (flipFlop) {
143143 flipFlop = false
144144 rotationRequest { rotation(0f , 0f ) }
You can’t perform that action at this time.
0 commit comments