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
@@ -13,7 +13,7 @@
|
||||
|
||||
<groupId>com.rsscripting</groupId>
|
||||
<artifactId>rs-mobstand</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.3</version>
|
||||
|
||||
<name>RS-MobStand</name>
|
||||
|
||||
|
||||
@@ -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