Fix illegal access from plugin to core api.

This commit is contained in:
Eduard Heimbuch
2021-09-06 15:21:53 +02:00
parent 13d72d45c6
commit 64b03d6ded

View File

@@ -116,7 +116,7 @@ class ConsolidatedModifications {
void modified(Modified modified) {
Modification earlierModification = modifications.get(modified.getPath());
if (!(earlierModification instanceof Added)) { // added should still be added
modified.getEffectedPaths().forEach(path -> modifications.put(path, modified));
modifications.put(modified.getPath(), modified);
}
}