mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 09:23:42 +01:00
15 lines
464 B
Diff
15 lines
464 B
Diff
--- 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());
|
|
}
|