Fix creating language file on first startup
This commit is contained in:
parent
8b6b6d3aa1
commit
b5072ca886
@ -138,10 +138,12 @@ public class LangLoader {
|
||||
}
|
||||
bw.newLine();
|
||||
// Output any custom language strings the user had
|
||||
if(curLang != null) {
|
||||
for (String key : curLang.keySet()) {
|
||||
bw.write(key + "=" + curLang.get(key));
|
||||
bw.newLine();
|
||||
}
|
||||
}
|
||||
|
||||
bw.close();
|
||||
} catch (Exception ex) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user