From 3a8acdd7686b1dff3305e937005bf21e9e1d4076 Mon Sep 17 00:00:00 2001 From: Sara Freimer Date: Fri, 8 Mar 2024 10:13:51 -0600 Subject: [PATCH] Fix inverted if statement --- src/main/java/mekanism/common/item/gear/ItemMekaSuitArmor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mekanism/common/item/gear/ItemMekaSuitArmor.java b/src/main/java/mekanism/common/item/gear/ItemMekaSuitArmor.java index 034fde9483a..b35586803cf 100644 --- a/src/main/java/mekanism/common/item/gear/ItemMekaSuitArmor.java +++ b/src/main/java/mekanism/common/item/gear/ItemMekaSuitArmor.java @@ -369,7 +369,7 @@ public double getJetpackThrust(ItemStack stack) { // so we only need to do extra validation if we need more than a single mB of hydrogen if (neededGas > 1) { GasStack containedGas = StorageUtils.getContainedGas(stack, MekanismGases.HYDROGEN); - if (neededGas < containedGas.getAmount()) { + if (neededGas > containedGas.getAmount()) { //If we don't have enough gas stored to go at the set thrust, scale down the thrust // to be whatever gas we have remaining thrustMultiplier = containedGas.getAmount();