From 2de87f7189cda46724f0ee2761f094978839b666 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 13 Feb 2019 13:45:38 -0800 Subject: [PATCH] Regex errors --- .../gmail/nossr50/config/ConfigLoaderConfigurable.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/ConfigLoaderConfigurable.java b/src/main/java/com/gmail/nossr50/config/ConfigLoaderConfigurable.java index b21e8c7b4..97ddb7326 100644 --- a/src/main/java/com/gmail/nossr50/config/ConfigLoaderConfigurable.java +++ b/src/main/java/com/gmail/nossr50/config/ConfigLoaderConfigurable.java @@ -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(); } }