Skip to content

Commit

Permalink
fix: swap requestId and type in hiscore request decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-Kris committed Jan 12, 2025
1 parent 471d422 commit adfe663
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ internal class HiscoreRequestDecoder : ProxyMessageDecoder<HiscoreRequest> {
buffer: JagByteBuf,
session: Session,
): HiscoreRequest {
val type = buffer.g1()
val requestId = buffer.g1()
val type = buffer.g1()
val name = buffer.gjstr()
return HiscoreRequest(
type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ internal class HiscoreRequestDecoder : ProxyMessageDecoder<HiscoreRequest> {
buffer: JagByteBuf,
session: Session,
): HiscoreRequest {
val type = buffer.g1()
val requestId = buffer.g1()
val type = buffer.g1()
val name = buffer.gjstr()
return HiscoreRequest(
type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ internal class HiscoreRequestDecoder : ProxyMessageDecoder<HiscoreRequest> {
buffer: JagByteBuf,
session: Session,
): HiscoreRequest {
val type = buffer.g1()
val requestId = buffer.g1()
val type = buffer.g1()
val name = buffer.gjstr()
return HiscoreRequest(
type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ internal class HiscoreRequestDecoder : ProxyMessageDecoder<HiscoreRequest> {
buffer: JagByteBuf,
session: Session,
): HiscoreRequest {
val type = buffer.g1()
val requestId = buffer.g1()
val type = buffer.g1()
val name = buffer.gjstr()
return HiscoreRequest(
type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ internal class HiscoreRequestDecoder : ProxyMessageDecoder<HiscoreRequest> {
buffer: JagByteBuf,
session: Session,
): HiscoreRequest {
val type = buffer.g1()
val requestId = buffer.g1()
val type = buffer.g1()
val name = buffer.gjstr()
return HiscoreRequest(
type,
Expand Down

0 comments on commit adfe663

Please sign in to comment.