Fix RCON not sending newlines in output for multiline. Fixes https://bugs.mojang.com/browse/MC-7569, a very old bug that is really annoying if you use RCON.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
bed38d4253
commit
9cfe741cea
1 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/net/minecraft/network/rcon/RConConsoleSource.java
|
||||||
|
+++ b/net/minecraft/network/rcon/RConConsoleSource.java
|
||||||
|
@@ -34,7 +34,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
public void func_145747_a(ITextComponent p_145747_1_, UUID p_145747_2_) {
|
||||||
|
- this.field_70009_b.append(p_145747_1_.getString());
|
||||||
|
+ this.field_70009_b.append(p_145747_1_.getString()).append("\n"); // FIX MC-7569 - RCON has no newlines in multiline output
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean func_195039_a() {
|
Loading…
Reference in a new issue