3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-26 16:12:50 +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(); ByteBuf buf = Unpooled.buffer();
ProtocolUtils.writeString(buf, address); ProtocolUtils.writeString(buf, address);
ProtocolUtils.writeString(buf, profile.getName()); ProtocolUtils.writeString(buf, profile.getName());
ProtocolUtils.writeString(buf, profile.idAsUuid().toString()); ProtocolUtils.writeUuid(buf, profile.idAsUuid());
ProtocolUtils.writeVarInt(buf, profile.getProperties().size()); ProtocolUtils.writeVarInt(buf, profile.getProperties().size());
for (GameProfile.Property property : profile.getProperties()) { for (GameProfile.Property property : profile.getProperties()) {
ProtocolUtils.writeString(buf, property.getName()); ProtocolUtils.writeString(buf, property.getName());