remove the deprecated update checker

This commit is contained in:
FalsePattern committed 2024-04-17 17:19:08 +02:00
1 parent 49c319aaef
commit 4f73cd2b2c
7 files changed
-233

No files matched your search

@@ -44,7 +44,6 @@ import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
guiFactory = Tags.GROUPNAME + ".internal.config.LibraryGuiFactory",
acceptableRemoteVersions = "*")
public class FalsePatternLib {
public static final String UPDATE_URL = "https://falsepattern.com/mc/api/v2/versions.json";
public static final SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(Tags.MODID);
@SidedProxy(clientSide = Tags.GROUPNAME + ".internal.proxy.ClientProxy",
@@ -31,13 +31,6 @@ public class LibraryConfig {
ConfigurationManager.selfInit();
}
@Config.Comment({"Used to control whether FalsePatternLib should check for outdated mods.",
"If you're building a public modpack, you should turn this off so that your users don't "
+ "get nagged about outdated mods."})
@Config.LangKey("config.falsepatternlib.updatecheck")
@Config.DefaultBoolean(true)
public static boolean ENABLE_UPDATE_CHECKER;
@Config.Comment({"Fixes the mod options menu in-game.",
"By default, the mod options when in already in a game will show \"Test1, Test2, DISABLED\" in bright red.",
"This replaces that interface with the one from the main menu."})
@@ -31,7 +31,6 @@ import com.falsepattern.lib.internal.impl.config.net.SyncReply;
import com.falsepattern.lib.internal.impl.config.net.SyncReplyHandler;
import com.falsepattern.lib.internal.impl.config.net.SyncRequest;
import com.falsepattern.lib.internal.impl.config.net.SyncRequestHandler;
import com.falsepattern.lib.updates.UpdateChecker;
import lombok.val;
import cpw.mods.fml.common.Mod;