fuck me don't just exit twice

This commit is contained in:
əlemi 2021-12-17 17:34:25 +01:00
parent a841030c1e
commit 8d371e094b

View file

@ -200,7 +200,8 @@ class MinecraftClient(CallbacksHolder, Runnable):
break
if self._processing: # if client was stopped exit immediately
await asyncio.sleep(self.options.reconnect_delay)
await self.stop(force=True)
if self._processing:
await self.stop(force=True)
async def _handshake(self) -> bool: # TODO make this fancier! poll for version and status first
await self.dispatcher.write(