From b0c4b81d5f869783717ba3084e47524e6c83a907 Mon Sep 17 00:00:00 2001 From: __felix__ <134875831+felixfour@users.noreply.github.com> Date: Tue, 13 May 2025 19:56:03 -0400 Subject: [PATCH] fix loader check (#27) --- src/main/java/com/gtnh/findit/FindIt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gtnh/findit/FindIt.java b/src/main/java/com/gtnh/findit/FindIt.java index 90dbae1..16f3df7 100644 --- a/src/main/java/com/gtnh/findit/FindIt.java +++ b/src/main/java/com/gtnh/findit/FindIt.java @@ -52,7 +52,7 @@ public class FindIt { @Mod.EventHandler public void preInit(FMLPreInitializationEvent event) { this.isExtraUtilitiesLoaded = Loader.isModLoaded("ExtraUtilities"); - this.isGregTechLoaded = Loader.isModLoaded("gregtech"); + this.isGregTechLoaded = Loader.isModLoaded("gregtech") && !Loader.isModLoaded("gregapi"); this.isEnderIOLoaded = Loader.isModLoaded("EnderIO"); this.cooldownService = new SearchCooldownService();