Skip to content

Commit

Permalink
Fix mod detection
Browse files Browse the repository at this point in the history
  • Loading branch information
DrParadox7 committed Jul 29, 2023
1 parent a802e85 commit 8927907
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/gregtechmod/api/enums/OrePrefixes.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,12 @@ public static boolean isInstanceOf(String aName, OrePrefixes aPrefix) {
}

public static void minimalItems(){
boolean IC2_loaded = Loader.isModLoaded("IndustrialCraft 2");
boolean TF_loaded = Loader.isModLoaded("Thermal Foundation");
boolean IC2_loaded = Loader.isModLoaded("IC2");
boolean TF_loaded = Loader.isModLoaded("ThermalFoundation");

if (IC2_loaded)
integrateIC2();

if (TF_loaded)
integrateTF();

Expand Down

0 comments on commit 8927907

Please sign in to comment.