Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Implemented chat recipients
Dieser Commit ist enthalten in:
Ursprung
bdc8c84041
Commit
cb2ff3c8bb
@ -623,8 +623,8 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
|
||||
msg = String.format(event.getFormat(), event.getPlayer().getDisplayName(), event.getMessage());
|
||||
a.info(msg);
|
||||
for (final String line: TextWrapper.wrapText(msg)) {
|
||||
this.d.f.a((Packet) (new Packet3Chat(line)));
|
||||
for (Player recipient : event.getRecipients()) {
|
||||
recipient.sendMessage(msg);
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren