13
0
geforkt von Mirrors/Paper

Fixed issue with console being subscribed multiple times to permissions

Dieser Commit ist enthalten in:
Dinnerbone 2011-09-04 00:24:32 +01:00
Ursprung c8d77561b1
Commit 59babb2c31
3 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
src/main/java
net/minecraft/server
org/bukkit/craftbukkit/entity

Datei anzeigen

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

Datei anzeigen

@ -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() {

Datei anzeigen

@ -49,7 +49,6 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
perm.recalculatePermissions();
perm.calculatePermissions();
}
public boolean isPlayer() {