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