diff --git a/src/main/kotlin/com/github/creeper123123321/viaaas/protocol/id47toid5/packets/LoginPackets.kt b/src/main/kotlin/com/github/creeper123123321/viaaas/protocol/id47toid5/packets/LoginPackets.kt index 9cb85d3..d905014 100644 --- a/src/main/kotlin/com/github/creeper123123321/viaaas/protocol/id47toid5/packets/LoginPackets.kt +++ b/src/main/kotlin/com/github/creeper123123321/viaaas/protocol/id47toid5/packets/LoginPackets.kt @@ -18,8 +18,8 @@ fun Protocol1_8To1_7_6.registerLoginPackets() { //Encryption Response this.registerIncoming(State.LOGIN, 0x01, 0x01, object : PacketRemapper() { override fun registerMap() { - map(Type.SHORT_BYTE_ARRAY, Type.BYTE_ARRAY_PRIMITIVE) - map(Type.SHORT_BYTE_ARRAY, Type.BYTE_ARRAY_PRIMITIVE) + map(Type.BYTE_ARRAY_PRIMITIVE, Type.SHORT_BYTE_ARRAY) + map(Type.BYTE_ARRAY_PRIMITIVE, Type.SHORT_BYTE_ARRAY) } }) } \ No newline at end of file