mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-13 22:25:46 +01:00
Fixed link in update checker
This commit is contained in:
parent
6ea6f155fd
commit
67c87cef90
@ -40,7 +40,7 @@ public class UpdateChecker {
|
|||||||
br.close();
|
br.close();
|
||||||
|
|
||||||
version = line.split("\\|")[0];
|
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)) {
|
if (plugin.getDescription().getVersion().equals(version)) {
|
||||||
plugin.debug("No update found");
|
plugin.debug("No update found");
|
||||||
|
Loading…
Reference in New Issue
Block a user