mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-30 14:33:30 +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