Skip to content

Commit

Permalink
Fix inverted if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
pupnewfster committed Mar 8, 2024
1 parent 50dc96d commit 3a8acdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3a8acdd

Please sign in to comment.