Skip to content

Commit b2b3cfd

Browse files
fix: correct metadata index for skin parts in entity packet creation within BukkitPackets
1 parent 68d8dd0 commit b2b3cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surf-npc-bukkit/src/main/kotlin/dev/slne/surf/npc/bukkit/BukkitPackets.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ sealed class BukkitPackets {
4949
override fun build() = WrapperPlayServerEntityMetadata(
5050
entityId,
5151
listOf(
52-
buildMetaData(17, EntityDataTypes.BYTE, skinParts),
52+
buildMetaData(16, EntityDataTypes.BYTE, skinParts),
5353
buildMetaData(0, EntityDataTypes.BYTE, 0x02.toByte()),
5454
)
5555
)

0 commit comments

Comments
 (0)