From 6218f2ab346ab566a308a2475169bacdb535e817 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Wed, 10 Nov 2021 13:03:42 +0000 Subject: [PATCH] Added 'v' to version checker string --- .../instantreplay/util/PluginVersionChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/terraboxstudios/instantreplay/util/PluginVersionChecker.java b/core/src/main/java/com/terraboxstudios/instantreplay/util/PluginVersionChecker.java index 418f58d..9cc94bd 100644 --- a/core/src/main/java/com/terraboxstudios/instantreplay/util/PluginVersionChecker.java +++ b/core/src/main/java/com/terraboxstudios/instantreplay/util/PluginVersionChecker.java @@ -22,7 +22,7 @@ public boolean shouldUpdate() { this.latestReleaseUrl = redirectUrl; String[] redirectUrlElements = redirectUrl.split("/"); String latestVersion = redirectUrlElements[redirectUrlElements.length - 1]; - return !currentVersion.equals(latestVersion); + return !currentVersion.equals("v" + latestVersion); } catch (Exception e) { return false; }