Skip to content

Commit 8ea89ab

Browse files
authored
Fix EMI and REI loaded checks (#2709)
1 parent 2472c9c commit 8ea89ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/gregtechceu/gtceu/GTCEu.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ public static boolean isJEILoaded() {
145145
}
146146

147147
public static boolean isREILoaded() {
148-
return isModLoaded(GTValues.MODID_REI) && !(isClientSide() || REIRuntime.getInstance().isOverlayVisible());
148+
return isModLoaded(GTValues.MODID_REI) && (!isClientSide() || REIRuntime.getInstance().isOverlayVisible());
149149
}
150150

151151
public static boolean isEMILoaded() {
152-
return isModLoaded(GTValues.MODID_EMI) && !(isClientSide() || EmiConfig.enabled);
152+
return isModLoaded(GTValues.MODID_EMI) && (!isClientSide() || EmiConfig.enabled);
153153
}
154154

155155
public static boolean isKubeJSLoaded() {

0 commit comments

Comments
 (0)