diff --git a/gradle.properties b/gradle.properties index 861aa88a..6dbf354f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,6 +14,6 @@ loader_version=0.14.7 fabric_version=0.83.0+1.20.1 immediatelyfast_version=1.1.14+1.20.1 # Mod Properties -mod_version=1.20.1-fabric-6 +mod_version=1.20.1-fabric-7 maven_group=net.torocraft archives_base_name=flighthud diff --git a/src/main/java/net/torocraft/flighthud/AutoFlightManager.java b/src/main/java/net/torocraft/flighthud/AutoFlightManager.java index f184aa95..a8a4441a 100644 --- a/src/main/java/net/torocraft/flighthud/AutoFlightManager.java +++ b/src/main/java/net/torocraft/flighthud/AutoFlightManager.java @@ -49,7 +49,8 @@ public static void update(MinecraftClient mc, FlightComputer computer) { boolean approachingDestination = distanceToTarget != null && distanceToTarget < Math.max(40, computer.velocityPerSecond.horizontalLength()); if (computer.speed > 30) thrustSet = true; - else if (autoThrustEnabled && usableFireworkHand != null) { + + if (autoThrustEnabled && usableFireworkHand != null) { if (!thrustLocked && gpwsLampColor == CONFIG.color && computer.velocityPerSecond.horizontalLength() > 0.01 && computer.pitch > (autoPilotEnabled ? 0 : 10) && !approachingDestination) { if (thrustSet && (computer.speed < 28 || computer.velocityPerSecond.y < -8)) { mc.interactionManager.interactItem(mc.player, usableFireworkHand);