From 8927907ef17a191d51f4ae58fc0a04b8e02489a3 Mon Sep 17 00:00:00 2001 From: DrParadox7 Date: Sat, 29 Jul 2023 19:18:19 +0200 Subject: [PATCH] Fix mod detection --- src/main/java/gregtechmod/api/enums/OrePrefixes.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/gregtechmod/api/enums/OrePrefixes.java b/src/main/java/gregtechmod/api/enums/OrePrefixes.java index b51a386e..4455a999 100644 --- a/src/main/java/gregtechmod/api/enums/OrePrefixes.java +++ b/src/main/java/gregtechmod/api/enums/OrePrefixes.java @@ -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();