mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 04:55:33 +01:00
fix regex woops!
This commit is contained in:
parent
1f28bdbc70
commit
8d7944d3d5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user