This commit is contained in:
2023-08-01 22:42:55 +02:00
parent 3cd361f9f9
commit 947a612a7e
2 changed files with 10 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ public class BasePacketHandler extends ChannelInboundHandlerAdapter {
MojewOutputStream dataOutputStream = new MojewOutputStream(Unpooled.buffer());
dataOutputStream.writeInt(2);
dataOutputStream.writeUTF("{text:\""+ ChatConverter.replaceColors(FakeMinecraftServer.KICK_MESSAGE) + "\", color: white}");
dataOutputStream.writeUTF("{text:\""+ ChatConverter.replaceColors(FakeMinecraftServer.KICK_MESSAGE).replace("\\n", "\n") + "\", color: white}");
dataOutputStream.close();
outputStream.writeInt(dataOutputStream.writtenBytes());

View File

@@ -0,0 +1,9 @@
package me.unlegitdqrk.fakeminecraftserver;
public class Main {
public static void main(String[] args) throws Exception {
FakeMinecraftServer.start();
}
}