Change update URL

This commit is contained in:
Telesphoreo 2022-04-07 02:04:36 -05:00
parent 804e0af63c
commit 02393f6be3
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class UpdateChecker extends PlexBase
try
{
FileUtils.copyURLToFile(
new URL(DOWNLOAD_PAGE + "lastSuccessfulBuild/artifact/build/libs/" + name),
new URL(DOWNLOAD_PAGE + "job/master/lastSuccessfulBuild/artifact/build/libs/" + name),
new File(Bukkit.getUpdateFolderFile(), name)
);
PlexLog.log("Saved new jar. Please restart your server.");