mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
Fix Check command displaying wrong latest version
This commit is contained in:
parent
70f4e34c52
commit
e63494f691
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class CheckCommand extends PKCommand {
|
|||
if (ProjectKorra.plugin.updater.updateAvailable()) {
|
||||
sender.sendMessage(ChatColor.GREEN + "There is a new version of " + ChatColor.GOLD + "ProjectKorra" + ChatColor.GREEN + " available!");
|
||||
sender.sendMessage(ChatColor.YELLOW + "Current version: " + ChatColor.RED + ProjectKorra.plugin.updater.getCurrentVersion());
|
||||
sender.sendMessage(ChatColor.YELLOW + "Latest version: " + ChatColor.GOLD + ProjectKorra.plugin.updater.getCurrentVersion());
|
||||
sender.sendMessage(ChatColor.YELLOW + "Latest version: " + ChatColor.GOLD + ProjectKorra.plugin.updater.getUpdateVersion());
|
||||
} else {
|
||||
sender.sendMessage(ChatColor.YELLOW + "You have the latest version of " + ChatColor.GOLD + "ProjectKorra");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue