Updates the resource id for the update checker
This change makes the update checker look at https://www.spigotmc.org/resources/stargate.109355/ for updates, instead of the legacy with incorrect version numbering: https://www.spigotmc.org/resources/stargate-old.87978/
This commit is contained in:
@@ -366,7 +366,7 @@ public class Stargate extends JavaPlugin {
|
||||
this.registerCommands();
|
||||
|
||||
//Check for any available updates
|
||||
UpdateChecker.checkForUpdate(this, "https://api.spigotmc.org/legacy/update.php?resource=87978",
|
||||
UpdateChecker.checkForUpdate(this, "https://api.spigotmc.org/legacy/update.php?resource=109355",
|
||||
Stargate::getPluginVersion, Stargate::setUpdateAvailable);
|
||||
|
||||
BStatsHelper.initialize(this);
|
||||
|
Reference in New Issue
Block a user