Write UUID in MSB/LSB format instead

This commit is contained in:
Andrew Steinborn
2018-07-30 23:56:00 -04:00
parent d9f68140d6
commit 2f5f93a427

View File

@@ -159,7 +159,7 @@ public class ServerConnection implements MinecraftConnectionAssociation {
ByteBuf buf = Unpooled.buffer();
ProtocolUtils.writeString(buf, address);
ProtocolUtils.writeString(buf, profile.getName());
ProtocolUtils.writeString(buf, profile.idAsUuid().toString());
ProtocolUtils.writeUuid(buf, profile.idAsUuid());
ProtocolUtils.writeVarInt(buf, profile.getProperties().size());
for (GameProfile.Property property : profile.getProperties()) {
ProtocolUtils.writeString(buf, property.getName());