diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java index 9f29e57..5a68141 100644 --- a/src/net/milkbowl/vault/Vault.java +++ b/src/net/milkbowl/vault/Vault.java @@ -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) {