summaryrefslogtreecommitdiffstats
path: root/nms-patches/RemoteControlCommandListener.patch
blob: bcbbeb0c81d2f9c25437af17f4d43b983e016495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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());
     }