Fixed packet decoder issue where bytes were read out of sequence
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user