From 999aa5c17fa52aaa298467a06c8abeaa7896b409 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sat, 24 Jul 2021 11:42:48 -0300 Subject: [PATCH] fix protocol loading --- .../aas/protocol/id47toid5/packets/PlayerPackets.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/viaversion/aas/protocol/id47toid5/packets/PlayerPackets.kt b/src/main/kotlin/com/viaversion/aas/protocol/id47toid5/packets/PlayerPackets.kt index ded9bcb..445bb81 100644 --- a/src/main/kotlin/com/viaversion/aas/protocol/id47toid5/packets/PlayerPackets.kt +++ b/src/main/kotlin/com/viaversion/aas/protocol/id47toid5/packets/PlayerPackets.kt @@ -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() { map(Type.DOUBLE) //x handler { packetWrapper -> @@ -470,4 +470,6 @@ fun Protocol1_8To1_7_6.registerPlayerPackets() { } } }) + + this.cancelServerbound(ServerboundPackets1_8.SPECTATE) }