diff options
author | Luck <git@lucko.me> | 2022-01-30 18:59:48 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2022-01-30 18:59:48 +0000 |
commit | ce56c23132383bd5d865070f23dcb89e574b97cd (patch) | |
tree | de4b900dce36e1a42cc54dfd1dba5423599fc601 /spark-common/src/main | |
parent | d35216ec6cfe39cc95ffe7bae4b57638e8cdd77b (diff) | |
download | spark-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.java | 2 |
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; |