Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-26 00:00:55 +01:00
Write UUID in MSB/LSB format instead
Dieser Commit ist enthalten in:
Ursprung
d9f68140d6
Commit
2f5f93a427
@ -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());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren