Update console log to match RS Standards.
This commit is contained in:
1 parent
fc778193c0
commit
df80243883
3 files changed
+21
-4
No files matched your search
@@ -174,7 +174,24 @@ public class RSAdminMenu {
|
||||
+ currentVersion
|
||||
);
|
||||
|
||||
if (!currentVersion.equalsIgnoreCase(
|
||||
if (latestVersion == null) {
|
||||
|
||||
lore.add(
|
||||
ChatColor.GRAY
|
||||
+ "Latest Version: "
|
||||
+ ChatColor.WHITE
|
||||
+ "Unknown"
|
||||
);
|
||||
|
||||
lore.add("");
|
||||
|
||||
lore.add(
|
||||
ChatColor.RED
|
||||
+ "Unable To Check"
|
||||
);
|
||||
|
||||
}
|
||||
else if (!currentVersion.equalsIgnoreCase(
|
||||
latestVersion
|
||||
)) {
|
||||
|
||||
|
||||
@@ -146,8 +146,8 @@ public class VersionChecker {
|
||||
|
||||
catch (Exception exception) {
|
||||
|
||||
plugin.getLogger().warning(
|
||||
"Could not check for updates."
|
||||
plugin.getLogger().info(
|
||||
"Unable to check for updates."
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user