From 02d39297cb312b802a2035bc65adee010815f589 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 24 Jul 2022 18:54:21 +0100 Subject: [PATCH] Sort protocols --- .../org/openrs2/protocol/ProtocolModule.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/protocol/src/main/kotlin/org/openrs2/protocol/ProtocolModule.kt b/protocol/src/main/kotlin/org/openrs2/protocol/ProtocolModule.kt index 6d4a22b7..6243c51c 100644 --- a/protocol/src/main/kotlin/org/openrs2/protocol/ProtocolModule.kt +++ b/protocol/src/main/kotlin/org/openrs2/protocol/ProtocolModule.kt @@ -29,6 +29,14 @@ public object ProtocolModule : AbstractModule() { install(BufferModule) install(CryptoModule) + bindProtocol( + Js5RemoteDownstream::class.java, + Js5OkCodec::class.java, + ClientOutOfDateCodec::class.java, + ServerFullCodec::class.java, + IpLimitCodec::class.java + ) + bindProtocol( LoginUpstream::class.java, InitGameConnectionCodec::class.java, @@ -48,14 +56,6 @@ public object ProtocolModule : AbstractModule() { IpLimitCodec::class.java ) - bindProtocol( - Js5RemoteDownstream::class.java, - Js5OkCodec::class.java, - ClientOutOfDateCodec::class.java, - ServerFullCodec::class.java, - IpLimitCodec::class.java - ) - bindProtocol( WorldListDownstream::class.java, WorldListResponseCodec::class.java