Ensuire Persist.dirtySince is not null even after file loading
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user