Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 7110fe0

Browse files
committed
Merge branch 'master' of github.com:Suwings/MCSManager-Daemon
2 parents a5ee102 + e3a22ba commit 7110fe0

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/entity/instance/process_config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export class ProcessConfig {
6767
if (this.iProcessConfig.type === "properties") {
6868
text = properties.stringify(object);
6969
text = text.replace(/ = /gim, "=");
70+
if (this.iProcessConfig.fileName == "server.properties") {
71+
text = text.replace(/\\\\u/gim, "\\u");
72+
}
7073
}
7174
if (this.iProcessConfig.type === "json") {
7275
text = JSON.stringify(object);

0 commit comments

Comments
 (0)