small fix

This commit is contained in:
2024-07-08 05:09:28 +02:00
parent 56080e1eb8
commit 90df1fa5fb
4 changed files with 62 additions and 79 deletions

View File

@@ -23,7 +23,7 @@ public class T2C_ConfigWriter {
public static void createConfig(String prefix, File configFile, T2C_ConfigItem[] values, boolean isReload, String... header) {
boolean exist = configFile.exists();
if (!exist) {
configFile.getParentFile().mkdirs();
configFile.getParentFile().mkdir();
try {
configFile.createNewFile();
} catch (IOException e) {