From cd0997f6b9af1b6b86a6616ff0347d6376d21d10 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 24 Jul 2024 22:18:26 +0300 Subject: [PATCH] fix: hint arrows no longer read more than they should --- .../outgoing/decoder/codec/misc/client/HintArrowDecoder.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/protocol/osrs-223/src/main/kotlin/net/rsprox/protocol/game/outgoing/decoder/codec/misc/client/HintArrowDecoder.kt b/protocol/osrs-223/src/main/kotlin/net/rsprox/protocol/game/outgoing/decoder/codec/misc/client/HintArrowDecoder.kt index f733d7e7..50e645ac 100644 --- a/protocol/osrs-223/src/main/kotlin/net/rsprox/protocol/game/outgoing/decoder/codec/misc/client/HintArrowDecoder.kt +++ b/protocol/osrs-223/src/main/kotlin/net/rsprox/protocol/game/outgoing/decoder/codec/misc/client/HintArrowDecoder.kt @@ -32,7 +32,6 @@ public class HintArrowDecoder : ProxyMessageDecoder { HintArrow(HintArrow.PlayerHintArrow(index)) } in 2..6 -> { - val positionId = buffer.g1() val x = buffer.g2() val z = buffer.g2() val height = buffer.g1() @@ -41,7 +40,7 @@ public class HintArrowDecoder : ProxyMessageDecoder { x, z, height, - positionId, + type, ), ) }