mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-26 19:01:53 +00:00
Fixed link in update checker
This commit is contained in:
parent
6ea6f155fd
commit
67c87cef90
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user