summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-09-04 00:24:32 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-09-04 00:24:32 +0100
commit59babb2c31b9ffb6b94e5072559e18f853d19b23 (patch)
tree16b9dfb577d60f38386c09493c969f50b4b4fd9c /src/main/java/org
parentc8d77561b16e9edc75b05a10f546ef919a717a92 (diff)
downloadcraftbukkit-59babb2c31b9ffb6b94e5072559e18f853d19b23.tar
craftbukkit-59babb2c31b9ffb6b94e5072559e18f853d19b23.tar.gz
craftbukkit-59babb2c31b9ffb6b94e5072559e18f853d19b23.tar.lz
craftbukkit-59babb2c31b9ffb6b94e5072559e18f853d19b23.tar.xz
craftbukkit-59babb2c31b9ffb6b94e5072559e18f853d19b23.zip
Fixed issue with console being subscribed multiple times to permissions
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java1
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java
index fae0d803..c605cca8 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java
@@ -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() {
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
index 4a1fa601..fda5098b 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
@@ -49,7 +49,6 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
perm.recalculatePermissions();
- perm.calculatePermissions();
}
public boolean isPlayer() {