mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
15 lines
594 B
Diff
15 lines
594 B
Diff
--- /home/matt/mc-dev-private//net/minecraft/server/RemoteControlCommandListener.java 2015-02-26 22:40:23.067608134 +0000
|
|
+++ src/main/java/net/minecraft/server/RemoteControlCommandListener.java 2015-02-26 22:40:23.067608134 +0000
|
|
@@ -27,6 +27,12 @@
|
|
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());
|
|
}
|