summaryrefslogtreecommitdiffstats
path: root/nms-patches/RemoteControlCommandListener.patch
blob: 22369f8904a10d63fdaac02379c31baf43a2c012 (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
@@ -21,6 +21,12 @@
         return "Rcon";
     }
 
+    // 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());
     }