mirror of
https://github.com/NEZNAMY/TAB.git
synced 2026-11-26 10:29:49 -05:00
someone had an issue i'm not sure if this will fix it but won't harm
This commit is contained in:
1 parent
378b8d9891
commit
b913250b35
1 file changed
+1
-1
@@ -210,7 +210,7 @@ public class ConfigurationFile{
|
||||
Writer writer = new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8);
|
||||
yaml.dump(values, writer);
|
||||
writer.close();
|
||||
fixHeader();
|
||||
if (!hasHeader()) fixHeader();
|
||||
} catch (Throwable e) {
|
||||
Shared.errorManager.criticalError("Failed to save yaml file " + file.getPath(), e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user