Added proper disconnect packet, kick command

This commit is contained in:
LOOHP
2020-08-04 14:36:14 +08:00
parent 2a48ead90d
commit bd3b72a519
22 changed files with 302 additions and 138 deletions
@@ -76,7 +76,7 @@ public class PacketPlayOutPositionAndLook extends PacketOut {
}
@Override
public byte[] getBytes() throws IOException {
public byte[] serializePacket() throws IOException {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
DataOutputStream output = new DataOutputStream(buffer);