mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-23 19:16:31 +01:00
don't worry about string representation of the version when dumping to
logs
This commit is contained in:
parent
90bf4d8d3a
commit
da11aa5fb1
@ -537,9 +537,8 @@ public class Vault extends JavaPlugin {
|
||||
Player player = event.getPlayer();
|
||||
if (perms.has(player, "vault.admin")) {
|
||||
try {
|
||||
String oldVersion = getDescription().getVersion();
|
||||
if (newVersion > currentVersion) {
|
||||
player.sendMessage(newVersion + " is out! You are running " + oldVersion);
|
||||
player.sendMessage(newVersion + " is out! You are running " + currentVersion);
|
||||
player.sendMessage("Update Vault at: http://dev.bukkit.org/server-mods/vault");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user