diff --git a/aiocraft/client.py b/aiocraft/client.py index 058c7e5..e3af021 100644 --- a/aiocraft/client.py +++ b/aiocraft/client.py @@ -291,12 +291,20 @@ class Client: elif isinstance(packet, proto.play.clientbound.PacketRespawn): self._logger.info( - "Loading dimension: %s (%s) in %s", + "Reloading world: %s (%s) in %s", Dimension(packet.dimension).name, Difficulty(packet.difficulty).name, Gamemode(packet.gamemode).name ) + elif isinstance(packet, proto.play.clientbound.PacketLogin): + self._logger.info( + "Joined world: %s (%s) in %s", + Dimension(packet.dimension).name, + Difficulty(packet.difficulty).name, + Gamemode(packet.gameMode).name + ) + elif isinstance(packet, proto.play.clientbound.PacketPosition): self._logger.info("Position synchronized") await self.dispatcher.write(