PaperMC/paper-server/nms-patches/RemoteControlCommandListener.patch
CraftBukkit/Spigot 21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00

15 lines
495 B
Diff

--- a/net/minecraft/server/RemoteControlCommandListener.java
+++ b/net/minecraft/server/RemoteControlCommandListener.java
@@ -25,6 +25,12 @@
return new ChatComponentText(this.getName());
}
+ // CraftBukkit start - Send a String
+ public void sendMessage(String message) {
+ this.a.append(message);
+ }
+ // CraftBukkit end
+
public void sendMessage(IChatBaseComponent ichatbasecomponent) {
this.a.append(ichatbasecomponent.toPlainText());
}