From 8d7944d3d56e56abe622300a72e3d8e949bd13df Mon Sep 17 00:00:00 2001 From: Sleaker Date: Mon, 27 Feb 2012 10:25:07 -0800 Subject: [PATCH] fix regex woops! --- src/net/milkbowl/vault/Vault.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();