diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 7724354c13..a824131191 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -710,8 +710,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { } s = String.format(event.getFormat(), event.getPlayer().getDisplayName(), event.getMessage()); - ColouredConsoleSender c = new ColouredConsoleSender(this.minecraftServer.server); - c.sendMessage(s); + minecraftServer.console.sendMessage(s); for (Player recipient : event.getRecipients()) { recipient.sendMessage(s); } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index fae0d80326..c605cca809 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 getEffectivePermissions() { diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 4a1fa601aa..fda5098b34 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() {