3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-25 15:50:19 +01:00

Write UUID in MSB/LSB format instead

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-07-30 23:56:00 -04:00
Ursprung d9f68140d6
Commit 2f5f93a427

Datei anzeigen

@ -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());