will it work???

This commit is contained in:
creeper123123321 2021-04-02 15:07:23 -03:00
parent 88dbbb9ad2
commit 83e0ec0a72

View File

@ -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)
}
})
}