mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-17 22:01:36 +01:00
Fix accumulation of temporary perms with a world or server context (#235)
This commit is contained in:
parent
82e759d708
commit
c32c975a71
@ -850,7 +850,7 @@ public abstract class PermissionHolder {
|
|||||||
|
|
||||||
// Remove the old node & add the new one.
|
// Remove the old node & add the new one.
|
||||||
synchronized (nodes) {
|
synchronized (nodes) {
|
||||||
nodes.remove(previous.getContexts().makeImmutable(), previous);
|
nodes.remove(previous.getFullContexts().makeImmutable(), previous);
|
||||||
nodes.put(newNode.getFullContexts().makeImmutable(), newNode);
|
nodes.put(newNode.getFullContexts().makeImmutable(), newNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user