mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-17 05:41:35 +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.
|
||||
synchronized (nodes) {
|
||||
nodes.remove(previous.getContexts().makeImmutable(), previous);
|
||||
nodes.remove(previous.getFullContexts().makeImmutable(), previous);
|
||||
nodes.put(newNode.getFullContexts().makeImmutable(), newNode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user