Change update URL

This commit is contained in:
Telesphoreo 2022-04-07 02:04:36 -05:00
parent 804e0af63c
commit 02393f6be3

View file

@ -150,7 +150,7 @@ public class UpdateChecker extends PlexBase
try try
{ {
FileUtils.copyURLToFile( 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) new File(Bukkit.getUpdateFolderFile(), name)
); );
PlexLog.log("Saved new jar. Please restart your server."); PlexLog.log("Saved new jar. Please restart your server.");