Fixed issue with console being subscribed multiple times to permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -111,7 +111,6 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
||||
public void setOp(boolean value) {
|
||||
this.op = value;
|
||||
perm.recalculatePermissions();
|
||||
perm.calculatePermissions();
|
||||
}
|
||||
|
||||
public Set<PermissionAttachmentInfo> getEffectivePermissions() {
|
||||
|
||||
@@ -49,7 +49,6 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
}
|
||||
|
||||
perm.recalculatePermissions();
|
||||
perm.calculatePermissions();
|
||||
}
|
||||
|
||||
public boolean isPlayer() {
|
||||
|
||||
Reference in New Issue
Block a user