mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Fixed packet decoder issue where bytes were read out of sequence
This commit is contained in:
parent
9866afbd5d
commit
8188c72417
1 changed files with 1 additions and 0 deletions
|
|
@ -407,6 +407,7 @@ enum class Decoders530(val opcode: Int) {
|
||||||
val child = buffer.leShort
|
val child = buffer.leShort
|
||||||
val iface = buffer.leShort
|
val iface = buffer.leShort
|
||||||
val itemSlot = buffer.leShortA
|
val itemSlot = buffer.leShortA
|
||||||
|
val unused = buffer.leInt //unused???
|
||||||
val itemId = buffer.shortA
|
val itemId = buffer.shortA
|
||||||
buffer.shortA //more ignored data....
|
buffer.shortA //more ignored data....
|
||||||
return Packet.ComponentItemAction(player, iface, child, itemId, itemSlot)
|
return Packet.ComponentItemAction(player, iface, child, itemId, itemSlot)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue