mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 17:51:31 +01:00
14 lines
417 B
Diff
14 lines
417 B
Diff
|
@@ -26,6 +26,12 @@
|
||
|
public IChatBaseComponent getScoreboardDisplayName() {
|
||
|
return new ChatComponentText(this.getName());
|
||
|
}
|
||
|
+
|
||
|
+ // CraftBukkit start - Send a String
|
||
|
+ public void sendMessage(String message) {
|
||
|
+ this.b.append(message);
|
||
|
+ }
|
||
|
+ // CraftBukkit end
|
||
|
|
||
|
public void sendMessage(IChatBaseComponent ichatbasecomponent) {
|
||
|
this.b.append(ichatbasecomponent.c());
|