Skip to content

Commit

Permalink
Fix EMI and REI loaded checks (#2709)
Browse files Browse the repository at this point in the history
  • Loading branch information
krossgg authored Jan 10, 2025
1 parent 2472c9c commit 8ea89ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/gregtechceu/gtceu/GTCEu.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ public static boolean isJEILoaded() {
}

public static boolean isREILoaded() {
return isModLoaded(GTValues.MODID_REI) && !(isClientSide() || REIRuntime.getInstance().isOverlayVisible());
return isModLoaded(GTValues.MODID_REI) && (!isClientSide() || REIRuntime.getInstance().isOverlayVisible());
}

public static boolean isEMILoaded() {
return isModLoaded(GTValues.MODID_EMI) && !(isClientSide() || EmiConfig.enabled);
return isModLoaded(GTValues.MODID_EMI) && (!isClientSide() || EmiConfig.enabled);
}

public static boolean isKubeJSLoaded() {
Expand Down

0 comments on commit 8ea89ab

Please sign in to comment.