PaperMC/nms-patches/RemoteControlCommandListener.patch

16 lines
464 B
Diff
Raw Normal View History

2015-05-25 20:37:24 +10:00
--- a/net/minecraft/server/RemoteControlCommandListener.java
+++ b/net/minecraft/server/RemoteControlCommandListener.java
2017-05-14 12:00:00 +10:00
@@ -21,6 +21,12 @@
return "Rcon";
}
2015-02-26 22:41:06 +00:00
+ // CraftBukkit start - Send a String
+ public void sendMessage(String message) {
2016-03-01 08:32:46 +11:00
+ this.a.append(message);
+ }
+ // CraftBukkit end
2015-02-26 22:41:06 +00:00
+
public void sendMessage(IChatBaseComponent ichatbasecomponent) {
2016-03-01 08:32:46 +11:00
this.a.append(ichatbasecomponent.toPlainText());
2015-02-26 22:41:06 +00:00
}