mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 08:36:45 +01:00
Flush write buffer for saving PlayerProfile before closing it.
This commit is contained in:
parent
fc8ad40b00
commit
4e9322485a
@ -452,6 +452,7 @@ public class PlayerProfile {
|
||||
// Write the new file
|
||||
FileWriter out = new FileWriter(location);
|
||||
out.write(writer.toString());
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user