From ff39260fa4113720b216c9404e2c479a913b4c17 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 2 Nov 2023 06:21:36 +0100 Subject: [PATCH] fix: wrong packet, damn prismarinejs... --- src/treepuncher/game/world.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/treepuncher/game/world.py b/src/treepuncher/game/world.py index 6e36cbd..4cc0f12 100644 --- a/src/treepuncher/game/world.py +++ b/src/treepuncher/game/world.py @@ -4,8 +4,9 @@ from time import time from aiocraft.mc.definitions import BlockPos from aiocraft.mc.proto import ( PacketMapChunk, PacketBlockChange, PacketMultiBlockChange, PacketSetPassengers, PacketEntityTeleport, - PacketSteerVehicle, PacketRelEntityMove, PacketTeleportConfirm, PacketPosition + PacketSteerVehicle, PacketRelEntityMove, PacketTeleportConfirm ) +from aiocraft.mc.proto.play.clientbound import PacketPosition from aiocraft.mc.types import twos_comp from aiocraft import Chunk, World # TODO these imports will hopefully change!