From 1e35e89d1c150a1c8f792a22a9387cf5e5a17af5 Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 26 Nov 2018 18:15:16 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=B0=D0=B7=20=D0=BE=D1=82?= =?UTF-8?q?=20buildnumber=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launcher/Launcher.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/libLauncher/src/main/java/ru/gravit/launcher/Launcher.java b/libLauncher/src/main/java/ru/gravit/launcher/Launcher.java index 7a46bc2f..ecee73f7 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/Launcher.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/Launcher.java @@ -32,14 +32,6 @@ public final class Launcher { // Used to determine from clientside is launched from launcher public static final AtomicBoolean LAUNCHED = new AtomicBoolean(false); - static int readBuildNumber() { - try { - return Integer.valueOf(IOHelper.request(IOHelper.getResourceURL("buildnumber"))); - } catch (IOException ignored) { - return 0; // Maybe dev env? - } - } - private static final AtomicReference CONFIG = new AtomicReference<>(); @LauncherAPI public static ModulesManagerInterface modulesManager = null; @@ -67,7 +59,7 @@ static int readBuildNumber() { public static int MAJOR = 4; public static int MINOR = 0; public static int PATCH = 8; - public static int BUILD = readBuildNumber(); + public static int BUILD = 0; public static Version.Type RELEASE = Version.Type.STABLE; @LauncherAPI