mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-24 22:01:49 +01:00
fix protocol loading
This commit is contained in:
parent
fa3e516d7f
commit
999aa5c17f
@ -72,7 +72,7 @@ fun Protocol1_8To1_7_6.registerPlayerPackets() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.registerClientbound(ClientboundPackets1_7.ENTITY_POSITION_AND_ROTATION, object : PacketRemapper() {
|
this.registerClientbound(ClientboundPackets1_7.PLAYER_POSITION, object : PacketRemapper() {
|
||||||
override fun registerMap() {
|
override fun registerMap() {
|
||||||
map(Type.DOUBLE) //x
|
map(Type.DOUBLE) //x
|
||||||
handler { packetWrapper ->
|
handler { packetWrapper ->
|
||||||
@ -470,4 +470,6 @@ fun Protocol1_8To1_7_6.registerPlayerPackets() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.cancelServerbound(ServerboundPackets1_8.SPECTATE)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user