From dadf9ec01371cc420084edb69c5a42fb92e534f0 Mon Sep 17 00:00:00 2001 From: alemidev Date: Thu, 11 Nov 2021 01:04:59 +0100 Subject: [PATCH] slightly more descriptive log --- aiocraft/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aiocraft/client.py b/aiocraft/client.py index bb51bf2..fc6c800 100644 --- a/aiocraft/client.py +++ b/aiocraft/client.py @@ -110,14 +110,14 @@ class Client: async def start(self): self._processing = True self._worker = asyncio.get_event_loop().create_task(self._client_worker()) - logger.info("Client started") + logger.info("Minecraft client started") async def stop(self, block=True): - await self.dispatcher.disconnect() self._processing = False + await self.dispatcher.disconnect() if block: await self._worker - logger.info("Client stopped") + logger.info("Minecraft client stopped") async def _client_worker(self): while self._processing: