Paper/nms-patches/RemoteControlCommandListener.patch

16 Zeilen
485 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/RemoteControlCommandListener.java
+++ b/net/minecraft/server/RemoteControlCommandListener.java
2015-02-26 23:41:06 +01:00
@@ -27,6 +27,12 @@
return new ChatComponentText(this.getName());
}
2015-02-26 23:41:06 +01:00
+ // CraftBukkit start - Send a String
+ public void sendMessage(String message) {
+ this.b.append(message);
+ }
+ // CraftBukkit end
2015-02-26 23:41:06 +01:00
+
public void sendMessage(IChatBaseComponent ichatbasecomponent) {
this.b.append(ichatbasecomponent.c());
2015-02-26 23:41:06 +01:00
}