diff --git a/src/main/java/com/zorbatron/zbgt/common/CommonProxy.java b/src/main/java/com/zorbatron/zbgt/common/CommonProxy.java index f313c5e..d368b21 100644 --- a/src/main/java/com/zorbatron/zbgt/common/CommonProxy.java +++ b/src/main/java/com/zorbatron/zbgt/common/CommonProxy.java @@ -37,6 +37,7 @@ import gregtech.api.cover.CoverDefinition; import gregtech.api.unification.material.event.MaterialEvent; import gregtech.api.unification.material.event.MaterialRegistryEvent; +import gregtech.api.util.Mods; @Mod.EventBusSubscriber(modid = ZBGTCore.MODID) public class CommonProxy { @@ -46,7 +47,9 @@ public void preInit() { } public void init() { - ZBGTTOPModule.init(); + if (Mods.TheOneProbe.isModLoaded()) { + ZBGTTOPModule.init(); + } } public void postInit() throws IOException {