From 2f5f93a42729f3f70e8b5e87df3adccf02975c1e Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Mon, 30 Jul 2018 23:56:00 -0400 Subject: [PATCH] Write UUID in MSB/LSB format instead --- .../proxy/connection/backend/ServerConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java b/src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java index 0f87e9b75..263390d59 100644 --- a/src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java +++ b/src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java @@ -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());