Disabled the version checker because it's 2017 and nobody needs those anymore.

This commit is contained in:
Vasco Lavos committed 2017-09-30 18:46:15 +01:00
1 parent 607e6bbaff
commit 0c6e5ca51a
3 files changed
+6 -6

No files matched your search

@@ -176,8 +176,8 @@ public class ClientProxy implements IProxy {
if(ConfigHandler.useAdaptativeConfig)
MinecraftForge.EVENT_BUS.register(AdaptorNotifier.class);
if(ConfigHandler.versionCheckEnabled)
VersionChecker.init();
// if(ConfigHandler.versionCheckEnabled)
// VersionChecker.init();
if(ConfigHandler.enableSeasonalFeatures) {
LocalDateTime now = LocalDateTime.now();
@@ -217,7 +217,7 @@ public class Botania {
@EventHandler
public void serverStarting(FMLServerStartingEvent event) {
event.registerServerCommand(new CommandDownloadLatest());
// event.registerServerCommand(new CommandDownloadLatest());
event.registerServerCommand(new CommandShare());
event.registerServerCommand(new CommandOpen());
if(Botania.gardenOfGlassLoaded)
@@ -69,7 +69,7 @@ public final class ConfigHandler {
public static boolean matrixMode = false;
public static boolean referencesEnabled = true;
public static boolean versionCheckEnabled = true;
// public static boolean versionCheckEnabled = true;
public static int spreaderPositionShift = 1;
public static boolean flowerForceCheck = true;
public static boolean enderPickpocketEnabled = true;
@@ -189,8 +189,8 @@ public final class ConfigHandler {
desc = "Set this to false to disable the references in the flower tooltips. (You monster D:)";
referencesEnabled = loadPropBool("references.enabled", desc, referencesEnabled);
desc = "Set this to false to disable checking and alerting when new Botania versions come out. (keywords for noobs: update notification message)";
versionCheckEnabled = loadPropBool("versionChecking.enabled", desc, versionCheckEnabled);
// desc = "Set this to false to disable checking and alerting when new Botania versions come out. (keywords for noobs: update notification message)";
// versionCheckEnabled = loadPropBool("versionChecking.enabled", desc, versionCheckEnabled);
desc = "Do not ever touch this value if not asked to. Possible symptoms of doing so include your head turning backwards, the appearance of Titans near the walls or you being trapped in a game of Sword Art Online.";
spreaderPositionShift = loadPropInt("spreader.posShift", desc, spreaderPositionShift);