don't worry about string representation of the version when dumping to

logs
This commit is contained in:
Sleaker 2012-02-29 12:20:11 -08:00
parent 90bf4d8d3a
commit da11aa5fb1

View File

@ -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) {