fix regex woops!

This commit is contained in:
Sleaker 2012-02-27 10:25:07 -08:00
parent 1f28bdbc70
commit 8d7944d3d5

View File

@ -100,7 +100,7 @@ public class Vault extends JavaPlugin {
@Override @Override
public void onEnable() { public void onEnable() {
currentVersion = Double.valueOf(getDescription().getVersion().split("-")[0].replaceFirst(".", "")); currentVersion = Double.valueOf(getDescription().getVersion().split("-")[0].replaceFirst("\\.", ""));
sm = getServer().getServicesManager(); sm = getServer().getServicesManager();
// Load Vault Addons // Load Vault Addons
loadEconomy(); loadEconomy();