From 23418c06d06de00b35bdab3a1d75fbe4d99a7d7b Mon Sep 17 00:00:00 2001 From: alemidev Date: Mon, 22 Nov 2021 00:01:39 +0100 Subject: [PATCH] ... --- aiocraft/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiocraft/dispatcher.py b/aiocraft/dispatcher.py index 8196c1d..5f37667 100644 --- a/aiocraft/dispatcher.py +++ b/aiocraft/dispatcher.py @@ -220,7 +220,7 @@ class Dispatcher: if self.state != ConnectionState.PLAY: await self._incoming.join() # During play we can pre-process packets except AttributeError: - self._logger.warning("Received unimplemented packet [%d] %d", packet_id, cls.__name__) + self._logger.warning("Received unimplemented packet [%d] %s", packet_id, cls.__name__) except ConnectionResetError: self._logger.error("Connection reset while reading packet") await self.disconnect(block=False)