mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-03 02:23:44 +01:00
Flush write buffer for saving PlayerProfile before closing it.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user