From 67c87cef90b53fbe5fc86bcac87bb43e7b91a83d Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 3 Aug 2016 16:13:15 +0200 Subject: [PATCH] Fixed link in update checker --- .../main/java/de/epiceric/shopchest/utils/UpdateChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShopChest/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java b/ShopChest/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java index 52403ae..b271eab 100644 --- a/ShopChest/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java +++ b/ShopChest/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java @@ -40,7 +40,7 @@ public class UpdateChecker { br.close(); version = line.split("\\|")[0]; - link = url + "download?version=" + line.split("\\|")[1]; + link = "https://www.spigotmc.org/resources/shopchest.11431/download?version=" + line.split("\\|")[1]; if (plugin.getDescription().getVersion().equals(version)) { plugin.debug("No update found");