We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acf7628 commit 1e15708Copy full SHA for 1e15708
src/main/kotlin/org/polyfrost/polyplus/client/cosmetics/ApplyCosmetics.kt
@@ -25,6 +25,7 @@ object ApplyCosmetics {
25
26
@Subscribe
27
fun onPlayerList(event: PacketEvent.Receive) {
28
+ // Not sure how to cleanly make this version agnostic atm.
29
val packet = try { event.getPacket<S38PacketPlayerListItem>() ?: return } catch (e: Exception) { return }
30
when (packet.action) {
31
S38PacketPlayerListItem.Action.ADD_PLAYER -> {
0 commit comments