Fixed link in update checker

This commit is contained in:
Eric 2016-08-03 16:13:15 +02:00
parent 6ea6f155fd
commit 67c87cef90

View File

@ -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");