aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2022-01-30 18:59:48 +0000
committerLuck <git@lucko.me>2022-01-30 18:59:48 +0000
commitce56c23132383bd5d865070f23dcb89e574b97cd (patch)
treede4b900dce36e1a42cc54dfd1dba5423599fc601 /spark-common/src/main
parentd35216ec6cfe39cc95ffe7bae4b57638e8cdd77b (diff)
downloadspark-ce56c23132383bd5d865070f23dcb89e574b97cd.tar.gz
spark-ce56c23132383bd5d865070f23dcb89e574b97cd.tar.bz2
spark-ce56c23132383bd5d865070f23dcb89e574b97cd.zip
Exclude rcon password from server.properties file
Diffstat (limited to 'spark-common/src/main')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/platform/serverconfig/AbstractServerConfigProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/platform/serverconfig/AbstractServerConfigProvider.java b/spark-common/src/main/java/me/lucko/spark/common/platform/serverconfig/AbstractServerConfigProvider.java
index 1e6f1b4..b40f07f 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/platform/serverconfig/AbstractServerConfigProvider.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/platform/serverconfig/AbstractServerConfigProvider.java
@@ -99,7 +99,7 @@ public abstract class AbstractServerConfigProvider<T extends Enum<T>> implements
}
JsonObject jsonObject = json.getAsJsonObject();
- String member = path.removeFirst();
+ String member = path.removeFirst().replace("\\.", ".");
if (!jsonObject.has(member)) {
return;