Fix preferences file saving
This commit is contained in:
		| @@ -205,6 +205,7 @@ public class DisguiseUtilities { | |||||||
|         String json = getGson().toJson(map); |         String json = getGson().toJson(map); | ||||||
|  |  | ||||||
|         try { |         try { | ||||||
|  |             viewPreferences.delete(); | ||||||
|             Files.write(viewPreferences.toPath(), json.getBytes(), StandardOpenOption.CREATE); |             Files.write(viewPreferences.toPath(), json.getBytes(), StandardOpenOption.CREATE); | ||||||
|         } |         } | ||||||
|         catch (IOException e) { |         catch (IOException e) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user