From d715bb70676924b0fb299ab7b2903a2b73e2ee16 Mon Sep 17 00:00:00 2001 From: wulf Date: Tue, 2 Feb 2021 22:46:32 +0800 Subject: [PATCH] remove updater because bug --- gradle.properties | 2 +- src/main/java/net/wurstclient/update/WurstUpdater.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index bda41d9..9ca1f63 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,5 +11,5 @@ forge_version=35.1.13 forge_mappings=20201028-1.16.3 # Mod Properties -mod_version = v7.11-MC1.16.4 +mod_version = v7.11-0.1-MC1.16.4 maven_group = 'com.wulf.wurst' \ No newline at end of file diff --git a/src/main/java/net/wurstclient/update/WurstUpdater.java b/src/main/java/net/wurstclient/update/WurstUpdater.java index 825d533..0a73336 100644 --- a/src/main/java/net/wurstclient/update/WurstUpdater.java +++ b/src/main/java/net/wurstclient/update/WurstUpdater.java @@ -27,6 +27,7 @@ public final class WurstUpdater implements UpdateListener @Override public void onUpdate() { + /* if(thread == null) { thread = new Thread(() -> checkForUpdates(), "WurstUpdater"); @@ -39,7 +40,7 @@ public void onUpdate() if(component != null) ChatUtils.component(component); - + */ WurstClient.INSTANCE.getEventManager().remove(UpdateListener.class, this); }