mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 00:34:27 +00:00
Remove then add when applying Difference (#4287)
This commit is contained in:
1 file changed
+3
-3
@@ -372,12 +372,12 @@ public class NodeMapMutable extends NodeMapBase {
|
||||
|
||||
this.lock.lock();
|
||||
try {
|
||||
for (Node n : changes.getAdded()) {
|
||||
result.mergeFrom(add(n));
|
||||
}
|
||||
for (Node n : changes.getRemoved()) {
|
||||
result.mergeFrom(removeExact(n));
|
||||
}
|
||||
for (Node n : changes.getAdded()) {
|
||||
result.mergeFrom(add(n));
|
||||
}
|
||||
} finally {
|
||||
this.lock.unlock();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user