From 0c6e5ca51af1e5db415ca419800fbf3717a225cf Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sat, 30 Sep 2017 18:46:15 +0100 Subject: [PATCH] Disabled the version checker because it's 2017 and nobody needs those anymore. --- .../java/vazkii/botania/client/core/proxy/ClientProxy.java | 4 ++-- src/main/java/vazkii/botania/common/Botania.java | 2 +- .../vazkii/botania/common/core/handler/ConfigHandler.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/vazkii/botania/client/core/proxy/ClientProxy.java b/src/main/java/vazkii/botania/client/core/proxy/ClientProxy.java index f5d098905..65a2251fd 100644 --- a/src/main/java/vazkii/botania/client/core/proxy/ClientProxy.java +++ b/src/main/java/vazkii/botania/client/core/proxy/ClientProxy.java @@ -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(); diff --git a/src/main/java/vazkii/botania/common/Botania.java b/src/main/java/vazkii/botania/common/Botania.java index c103a3c22..8d34c97cc 100644 --- a/src/main/java/vazkii/botania/common/Botania.java +++ b/src/main/java/vazkii/botania/common/Botania.java @@ -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) diff --git a/src/main/java/vazkii/botania/common/core/handler/ConfigHandler.java b/src/main/java/vazkii/botania/common/core/handler/ConfigHandler.java index 729a8de45..f20842816 100644 --- a/src/main/java/vazkii/botania/common/core/handler/ConfigHandler.java +++ b/src/main/java/vazkii/botania/common/core/handler/ConfigHandler.java @@ -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);