diff --git a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java index 31ef669c1..0828faa17 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java @@ -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) {