Paper/nms-patches/RemoteControlCommandListener.patch
2015-05-25 20:37:24 +10:00

16 Zeilen
485 B
Diff

--- a/net/minecraft/server/RemoteControlCommandListener.java
+++ b/net/minecraft/server/RemoteControlCommandListener.java
@@ -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());
}