mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Regex errors
This commit is contained in:
parent
fb2eddd432
commit
2de87f7189
@ -292,21 +292,21 @@ public abstract class ConfigLoaderConfigurable implements DefaultKeys {
|
||||
|
||||
int getIntValue(String path)
|
||||
{
|
||||
return userRootNode.getNode(path.split(".")).getInt();
|
||||
return userRootNode.getNode(path.split("\\.")).getInt();
|
||||
}
|
||||
|
||||
double getDoubleValue(String path)
|
||||
{
|
||||
return userRootNode.getNode(path.split(".")).getDouble();
|
||||
return userRootNode.getNode(path.split("\\.")).getDouble();
|
||||
}
|
||||
|
||||
boolean getBooleanValue(String path)
|
||||
{
|
||||
return userRootNode.getNode(path.split(".")).getBoolean();
|
||||
return userRootNode.getNode(path.split("\\.")).getBoolean();
|
||||
}
|
||||
|
||||
String getStringValue(String path)
|
||||
{
|
||||
return userRootNode.getNode(path.split(".")).getString();
|
||||
return userRootNode.getNode(path.split("\\.")).getString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user