Fix creating language file on first startup

This commit is contained in:
Michael Smith 2019-09-13 03:24:59 -07:00
parent 8b6b6d3aa1
commit b5072ca886
No known key found for this signature in database
GPG Key ID: 41F47A53EDE95BE1

View File

@ -138,10 +138,12 @@ public class LangLoader {
} }
bw.newLine(); bw.newLine();
// Output any custom language strings the user had // Output any custom language strings the user had
if(curLang != null) {
for (String key : curLang.keySet()) { for (String key : curLang.keySet()) {
bw.write(key + "=" + curLang.get(key)); bw.write(key + "=" + curLang.get(key));
bw.newLine(); bw.newLine();
} }
}
bw.close(); bw.close();
} catch (Exception ex) { } catch (Exception ex) {