mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-07-14 13:35:20 +02:00
Fix preferences file saving
This commit is contained in:
parent
dd05e3e411
commit
54efb582b1
|
@ -205,6 +205,7 @@ public class DisguiseUtilities {
|
|||
String json = getGson().toJson(map);
|
||||
|
||||
try {
|
||||
viewPreferences.delete();
|
||||
Files.write(viewPreferences.toPath(), json.getBytes(), StandardOpenOption.CREATE);
|
||||
}
|
||||
catch (IOException e) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user