Skip to content

Commit

Permalink
Fix hei warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Jun 6, 2024
1 parent 0e6e1dc commit 2574a20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
case "extrautils2" -> Loader.isModLoaded("extrautils2") && FugueConfig.modPatchConfig.enableExtraUtilities;
case "incontrol" -> Loader.isModLoaded("incontrol") && FugueConfig.modPatchConfig.enableInControl;
case "refinedstorage" -> Loader.isModLoaded("refinedstorage") && FugueConfig.modPatchConfig.enableMoreRefinedStorage && Fugue.isModNewerThan("refinedstorage", "2.0.0");
case "jei" -> Loader.isModLoaded("jei") && FugueConfig.modPatchConfig.enableHEI && Fugue.isModNewerThan("jei", "4.17.0");
default -> true;
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,6 @@ public class ModPatchConfig {
public boolean enableInControl = true;
@Config.Name("Enable More Refined Storage Patch")
public boolean enableMoreRefinedStorage = true;
@Config.Name("Enable HEI Patch (temporary)")
public boolean enableHEI = true;
}

0 comments on commit 2574a20

Please sign in to comment.