From 96bade49bea9fd755185709ee22ced4d225221cf Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 30 Apr 2023 01:03:38 +0100 Subject: [PATCH] Fixed emotes --- .../unicopia/network/MsgPlayerAnimationChange.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerAnimationChange.java b/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerAnimationChange.java index d2992855..961edb18 100644 --- a/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerAnimationChange.java +++ b/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerAnimationChange.java @@ -30,7 +30,7 @@ public record MsgPlayerAnimationChange ( @Override public void toBuffer(PacketByteBuf buffer) { buffer.writeUuid(playerId); - buffer.writeInt(animation.ordinal()); + buffer.writeEnumConstant(animation); buffer.writeInt(duration); }