Skip to content

Commit

Permalink
fix: who needs colours in the console again?
Browse files Browse the repository at this point in the history
Signed-off-by: Thatsmusic99 <25277367+thatsmusic99@users.noreply.github.com>
  • Loading branch information
Thatsmusic99 committed Aug 14, 2023
1 parent d6268e6 commit d739dc8
Showing 1 changed file with 5 additions and 27 deletions.
Expand Up @@ -148,34 +148,12 @@ public void onEnable() {
if (MainConfig.get().CHECK_FOR_UPDATES.get()) {
updateInfo = UpdateChecker.getUpdate();
if (updateInfo != null) {
getLogger()
.info(
ChatColor.AQUA
+ ""
+ ChatColor.BOLD
+ "A new version is available!");
getLogger()
.info(
ChatColor.AQUA
+ ""
+ ChatColor.BOLD
+ "Current version you're using: "
+ ChatColor.WHITE
+ getDescription().getVersion());
getLogger()
.info(
ChatColor.AQUA
+ ""
+ ChatColor.BOLD
+ "Latest version available: "
+ ChatColor.WHITE
+ updateInfo[0]);
getLogger()
.info(
ChatColor.AQUA
+ "Download link: https://www.spigotmc.org/resources/advancedteleport.64139/");
getLogger().info("A new version is available!");
getLogger().info("Current version you're using: " + getDescription().getVersion());
getLogger().info("Latest version available: " + updateInfo[0]);
getLogger().info("Download link: https://www.spigotmc.org/resources/advancedteleport.64139/");
} else {
getLogger().info(ChatColor.AQUA + "Plugin is up to date!");
getLogger().info("Plugin is up to date!");
}
}
});
Expand Down

0 comments on commit d739dc8

Please sign in to comment.