mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-22 18:46:41 +01:00
Fixes #769 - outdated update link
This commit is contained in:
parent
c4c953753e
commit
b2c7296775
@ -105,6 +105,7 @@ import net.milkbowl.vault.economy.plugins.Economy_MiConomy;
|
||||
|
||||
public class Vault extends JavaPlugin {
|
||||
|
||||
private static final String VAULT_BUKKIT_URL = "https://dev.bukkit.org/projects/Vault";
|
||||
private static Logger log;
|
||||
private Permission perms;
|
||||
private String newVersionTitle = "";
|
||||
@ -620,7 +621,7 @@ public class Vault extends JavaPlugin {
|
||||
try {
|
||||
if (newVersion > currentVersion) {
|
||||
player.sendMessage("Vault " + newVersionTitle + " is out! You are running " + currentVersionTitle);
|
||||
player.sendMessage("Update Vault at: http://dev.bukkit.org/server-mods/vault");
|
||||
player.sendMessage("Update Vault at: " + VAULT_BUKKIT_URL);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// Ignore exceptions
|
||||
|
Loading…
Reference in New Issue
Block a user