Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strubium committed Feb 17, 2024
1 parent 285e9f5 commit 1a1a26d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/java/mcjty/theoneprobe/Utilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<ItemStack> stacks, @Nonnull Set<Item> foundItems, @Nonnull ItemStack stack) {
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/mcjty/theoneprobe/setup/ModSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 1a1a26d

Please sign in to comment.