From fa4f0dc58a098486baf586c2a94ab2a5d54f1bf9 Mon Sep 17 00:00:00 2001 From: alemidev Date: Tue, 19 Apr 2022 03:54:27 +0200 Subject: [PATCH] was importing wrong packet? --- 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 96e89ec..bd0463e 100644 --- a/src/treepuncher/game/world.py +++ b/src/treepuncher/game/world.py @@ -4,7 +4,8 @@ import datetime from typing import Dict, List from aiocraft.mc.definitions import BlockPos -from aiocraft.mc.proto import PacketPosition, PacketTeleportConfirm +from aiocraft.mc.proto.play.clientbound import PacketPosition +from aiocraft.mc.proto.play.serverbound import PacketTeleportConfirm from ..scaffold import Scaffold from ..events import ConnectedEvent