mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
Fixed issue with console being subscribed multiple times to permissions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user