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