summaryrefslogtreecommitdiffstats
path: root/nms-patches/RemoteControlCommandListener.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/RemoteControlCommandListener.patch')
-rw-r--r--nms-patches/RemoteControlCommandListener.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/RemoteControlCommandListener.patch b/nms-patches/RemoteControlCommandListener.patch
index 6331f69e..bcbbeb0c 100644
--- a/nms-patches/RemoteControlCommandListener.patch
+++ b/nms-patches/RemoteControlCommandListener.patch
@@ -1,15 +1,15 @@
--- a/net/minecraft/server/RemoteControlCommandListener.java
+++ b/net/minecraft/server/RemoteControlCommandListener.java
-@@ -27,6 +27,12 @@
+@@ -25,6 +25,12 @@
return new ChatComponentText(this.getName());
}
+ // CraftBukkit start - Send a String
+ public void sendMessage(String message) {
-+ this.b.append(message);
++ this.a.append(message);
+ }
+ // CraftBukkit end
+
public void sendMessage(IChatBaseComponent ichatbasecomponent) {
- this.b.append(ichatbasecomponent.c());
+ this.a.append(ichatbasecomponent.toPlainText());
}