Add some color

This commit is contained in:
Telesphoreo 2022-04-08 00:03:59 -05:00
parent 898dace3c1
commit 6071567eb3

View File

@ -162,7 +162,7 @@ public class UpdateChecker extends PlexBase
JSONObject object = new JSONObject(EntityUtils.toString(response.getEntity(), StandardCharsets.UTF_8));
JSONObject artifact = object.getJSONArray("artifacts").getJSONObject(0);
String name = artifact.getString("fileName");
sendMini(sender, "Downloading latest Plex jar file: " + name);
sendMini(sender, "<green>Downloading latest Plex jar file: " + name);
CompletableFuture.runAsync(() ->
{
try
@ -171,7 +171,7 @@ public class UpdateChecker extends PlexBase
new URL(DOWNLOAD_PAGE + "job/" + branch + "/lastSuccessfulBuild/artifact/build/libs/" + name),
new File(Bukkit.getUpdateFolderFile(), name)
);
sendMini(sender, "Saved new jar. Please restart your server.");
sendMini(sender, "<green>Saved new jar. Please restart your server.");
}
catch (IOException e)
{