mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2025-03-01 16:04:57 -05:00
fix inconsistent serialize and deserialize in ClientboundPlayerInfoUpdate (#737)
* fix inconsistent serialize and deserialize in ClientboundPlayerInfoUpdatePacket.java (issue #736) * fix writePositionSource always throws IllegalStateException (issue #738)
This commit is contained in:
parent
ee030499b5
commit
d84fa717fa
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ public class ClientboundPlayerInfoUpdatePacket implements MinecraftPacket {
|
|||
switch (action) {
|
||||
case ADD_PLAYER:
|
||||
helper.writeString(out, entry.getProfile().getName());
|
||||
helper.writeVarInt(out, entry.getProfile().getProperties().size());
|
||||
for (GameProfile.Property property : entry.getProfile().getProperties()) {
|
||||
helper.writeProperty(out, property);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue