Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
pupnewfster committed Feb 29, 2024
1 parent cccee5a commit 57f3656
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ public JetpackMode getJetpackMode(ItemStack stack) {

@Override
public double getJetpackThrust(ItemStack stack) {
IModule<ModuleJetpackUnit> module = getModule(stack, MekanismModules.JETPACK_UNIT);
if (module != null && module.isEnabled()) {
IModule<ModuleJetpackUnit> module = getEnabledModule(stack, MekanismModules.JETPACK_UNIT);
if (module != null) {
return 0.1D * module.getCustomInstance().getThrustMultiplier();
}
return 0D;
Expand Down

0 comments on commit 57f3656

Please sign in to comment.