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