Fix accumulation of temporary perms with a world or server context (#235)

This commit is contained in:
creator3 2017-04-08 15:49:10 -04:00 committed by Luck
parent 82e759d708
commit c32c975a71

View File

@ -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);
}