From 9e4df1d1960e348c044ca99825cfdc81bf160a7b Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Mon, 21 Jan 2019 16:06:13 +0300 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20?= =?UTF-8?q?GC=20=D0=BD=D0=B5=20=D1=81=D1=8A=D0=B5=D1=81=D1=82=20Updater.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zaxar163 --- .../src/main/java/ru/gravit/launchserver/LaunchServer.java | 4 +++- modules | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index 9ef85b0a..a1f3d3ce 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -288,6 +288,8 @@ public static void main(String... args) throws Throwable { public volatile Map> updatesDirMap; + public final Updater updater; + public static Gson gson; public static GsonBuilder gsonBuilder; @@ -439,7 +441,7 @@ public LaunchServer(Path dir, String[] args) throws IOException, InvalidKeySpecE // post init modules modulesManager.postInitModules(); // start updater - new Updater(this); + this.updater = new Updater(this); } public static void initGson() { diff --git a/modules b/modules index 38e11640..53106ee2 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit 38e11640ce4a4ed3e9745718db02a888770a22bb +Subproject commit 53106ee20700cb73ad65fd7dddf69b0d0b766f4c