diff --git a/v1_20_R4/src/main/kotlin/com/mineinabyss/emojy/nms/v1_20_R4/EmojyNMSHandler.kt b/v1_20_R4/src/main/kotlin/com/mineinabyss/emojy/nms/v1_20_R4/EmojyNMSHandler.kt index c4e9ee0..c379637 100644 --- a/v1_20_R4/src/main/kotlin/com/mineinabyss/emojy/nms/v1_20_R4/EmojyNMSHandler.kt +++ b/v1_20_R4/src/main/kotlin/com/mineinabyss/emojy/nms/v1_20_R4/EmojyNMSHandler.kt @@ -114,6 +114,13 @@ class EmojyNMSHandler(emojy: EmojyPlugin) : IEmojyNMSHandler { packet } + is ClientboundPlayerInfoUpdatePacket -> + ClientboundPlayerInfoUpdatePacket(packet.actions(), packet.entries().map { + ClientboundPlayerInfoUpdatePacket.Entry( + it.profileId, it.profile, it.listed, it.latency, it.gameMode, + it.displayName?.transformEmotes(connection.locale()), it.chatSession + ) + }) else -> packet }, promise )