Update FCLGameLauncher.java

This commit is contained in:
Tungstend 2023-07-31 17:35:37 +08:00
parent f48a94c23b
commit a492261a43
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public final class FCLGameLauncher extends DefaultLauncher {
str.append(line).append("\n");
}
}
if (!overwrite) {
if (!overwrite && !str.toString().contains(replacement)) {
str.append(replacement);
}
} catch (Exception e) {