From 1a1a26d975760214f2df10daa50113ae85162d97 Mon Sep 17 00:00:00 2001 From: strubium <113206902+strubium@users.noreply.github.com> Date: Sat, 17 Feb 2024 16:48:19 -0600 Subject: [PATCH] fix --- src/main/java/mcjty/theoneprobe/Utilities.java | 2 +- src/main/java/mcjty/theoneprobe/setup/ModSetup.java | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/mcjty/theoneprobe/Utilities.java b/src/main/java/mcjty/theoneprobe/Utilities.java index 1f2e8778..802854f1 100644 --- a/src/main/java/mcjty/theoneprobe/Utilities.java +++ b/src/main/java/mcjty/theoneprobe/Utilities.java @@ -29,7 +29,7 @@ public class Utilities { @Nonnull public static String getProviderId(@Nonnull String name) { - return String.format("%s:%s_provider", TopExtras.MODID, name); + return String.format("%s:%s_provider", TheOneProbe.MODID, name); } public static void addItemStack(@Nonnull List stacks, @Nonnull Set foundItems, @Nonnull ItemStack stack) { diff --git a/src/main/java/mcjty/theoneprobe/setup/ModSetup.java b/src/main/java/mcjty/theoneprobe/setup/ModSetup.java index 61c4381e..ad818956 100644 --- a/src/main/java/mcjty/theoneprobe/setup/ModSetup.java +++ b/src/main/java/mcjty/theoneprobe/setup/ModSetup.java @@ -34,7 +34,6 @@ public class ModSetup { public static File modConfigDir; public static boolean baubles = false; - public static boolean tesla = false; public static boolean redstoneflux = false; public void preInit(FMLPreInitializationEvent e) { @@ -64,11 +63,6 @@ public Logger getLogger() { } private void setupModCompat() { - tesla = Loader.isModLoaded("tesla"); - if (tesla) { - logger.log(Level.INFO, "The One Probe Detected TESLA: enabling support"); - } - redstoneflux = Loader.isModLoaded("redstoneflux"); if (redstoneflux) { logger.log(Level.INFO, "The One Probe Detected RedstoneFlux: enabling support");