geforkt von Mirrors/Paper
Added Player.sendRawMessage().
Dieser Commit ist enthalten in:
Ursprung
0ac5c7f4cf
Commit
49a3d5bfb3
@ -77,6 +77,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
this.entity = entity;
|
this.entity = entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void sendRawMessage(String message) {
|
||||||
|
getHandle().a.b(new Packet3Chat(message));
|
||||||
|
}
|
||||||
|
|
||||||
public void sendMessage(String message) {
|
public void sendMessage(String message) {
|
||||||
for (final String line: TextWrapper.wrapText(message)) {
|
for (final String line: TextWrapper.wrapText(message)) {
|
||||||
getHandle().a.b(new Packet3Chat(line));
|
getHandle().a.b(new Packet3Chat(line));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren