Skip to content

Commit

Permalink
Fixes #769 - outdated update link
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleaker authored Jun 12, 2019
1 parent c4c9537 commit b2c7296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/net/milkbowl/vault/Vault.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@

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 = "";
Expand Down Expand Up @@ -620,7 +621,7 @@ public void onPlayerJoin(PlayerJoinEvent event) {
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
Expand Down

0 comments on commit b2c7296

Please sign in to comment.