mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 13:42:25 -07:00
Update to Minecraft 1.9
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
--- a/net/minecraft/server/RemoteControlCommandListener.java
|
||||
+++ b/net/minecraft/server/RemoteControlCommandListener.java
|
||||
@@ -27,6 +27,12 @@
|
||||
@@ -25,6 +25,12 @@
|
||||
return new ChatComponentText(this.getName());
|
||||
}
|
||||
|
||||
+ // CraftBukkit start - Send a String
|
||||
+ public void sendMessage(String message) {
|
||||
+ this.b.append(message);
|
||||
+ this.a.append(message);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public void sendMessage(IChatBaseComponent ichatbasecomponent) {
|
||||
this.b.append(ichatbasecomponent.c());
|
||||
this.a.append(ichatbasecomponent.toPlainText());
|
||||
}
|
||||
|
Reference in New Issue
Block a user