mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-25 01:13:53 -07:00
Fixed issue with console being subscribed multiple times to permissions
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