This commit is contained in:
Chayapak 2023-10-14 20:52:02 +07:00
parent 2e09aacee2
commit 8fe286274f

View file

@ -73,7 +73,7 @@ public class PersistentDataUtilities {
jsonObject = gson.fromJson(reader, JsonObject.class);
}
writer = Files.newBufferedWriter(path, StandardOpenOption.WRITE);
writer = Files.newBufferedWriter(path, StandardOpenOption.TRUNCATE_EXISTING);
} catch (IOException e) {
e.printStackTrace();
}