diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java index cb0009f..9f29e57 100644 --- a/src/net/milkbowl/vault/Vault.java +++ b/src/net/milkbowl/vault/Vault.java @@ -100,7 +100,7 @@ public class Vault extends JavaPlugin { @Override public void onEnable() { - currentVersion = Double.valueOf(getDescription().getVersion().split("-")[0].replaceFirst(".", "")); + currentVersion = Double.valueOf(getDescription().getVersion().split("-")[0].replaceFirst("\\.", "")); sm = getServer().getServicesManager(); // Load Vault Addons loadEconomy();