Skip to content

Commit

Permalink
Divine: Fix MC-7569
Browse files Browse the repository at this point in the history
Original code by NONPLAYT
You can find the original code on https://github.com/DivineMC/DivineMC

Original post on Mojira: https://bugs.mojang.com/browse/MC-7569
  • Loading branch information
404Setup committed Jul 29, 2024
1 parent 06daec1 commit 8884a3c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions patches/server/0026-Divine-Fix-MC-7569.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: NONPLAYT <76615486+NONPLAYT@users.noreply.github.com>
Date: Sun, 16 Jul 2023 12:21:09 +0300
Subject: [PATCH] Divine: Fix MC-7569

Original code by NONPLAYT
You can find the original code on https://github.com/DivineMC/DivineMC

Original post on Mojira: https://bugs.mojang.com/browse/MC-7569

diff --git a/src/main/java/net/minecraft/server/rcon/RconConsoleSource.java b/src/main/java/net/minecraft/server/rcon/RconConsoleSource.java
index a04cf04cb694237ec77b38fc576f0dfc9264a25a..47a00e408d96fd9ade864ec4e278e1eb006722ef 100644
--- a/src/main/java/net/minecraft/server/rcon/RconConsoleSource.java
+++ b/src/main/java/net/minecraft/server/rcon/RconConsoleSource.java
@@ -55,7 +55,7 @@ public class RconConsoleSource implements CommandSource {

@Override
public void sendSystemMessage(Component message) {
- this.buffer.append(message.getString());
+ this.buffer.append(message.getString()).append(System.lineSeparator());
}

@Override

0 comments on commit 8884a3c

Please sign in to comment.