Ensuire Persist.dirtySince is not null even after file loading
This commit is contained in:
parent
ebb7b5b4c5
commit
5166dd8188
@ -42,6 +42,10 @@ public class Persist {
|
||||
catch (final JsonParseException e) {
|
||||
Log.severe("cannot load " + file, e);
|
||||
}
|
||||
finally {
|
||||
if (dirtySince == null)
|
||||
dirtySince = new HashMap<>();
|
||||
}
|
||||
|
||||
if (!loaded) {
|
||||
save();
|
||||
|
Loading…
Reference in New Issue
Block a user