Fixed emotes

This commit is contained in:
Sollace 2023-04-30 01:03:38 +01:00
parent 1410021373
commit 96bade49be

View file

@ -30,7 +30,7 @@ public record MsgPlayerAnimationChange (
@Override @Override
public void toBuffer(PacketByteBuf buffer) { public void toBuffer(PacketByteBuf buffer) {
buffer.writeUuid(playerId); buffer.writeUuid(playerId);
buffer.writeInt(animation.ordinal()); buffer.writeEnumConstant(animation);
buffer.writeInt(duration); buffer.writeInt(duration);
} }