forgot to attempt the update check

This commit is contained in:
Sleaker 2011-12-03 01:36:39 -08:00
parent 8dd26f430a
commit 0c784c7797
1 changed files with 6 additions and 1 deletions

View File

@ -77,6 +77,11 @@ public class Vault extends JavaPlugin {
@Override
public void onEnable() {
try {
updateCheck();
} catch (Exception e) {
// ignore exceptions
}
// Load Vault Addons
loadEconomy();
loadPermission();
@ -333,7 +338,7 @@ public class Vault extends JavaPlugin {
}
}
public void needsUpdate() throws Exception {
public void updateCheck() throws Exception {
String pluginUrlString = "http://dev.bukkit.org/server-mods/vault/files.rss";
try {
URL url = new URL(pluginUrlString);