Bug fix
This commit is contained in:
@@ -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());
|
||||
|
@@ -0,0 +1,9 @@
|
||||
package me.unlegitdqrk.fakeminecraftserver;
|
||||
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
FakeMinecraftServer.start();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user