fuck me don't just exit twice
This commit is contained in:
parent
a841030c1e
commit
8d371e094b
1 changed files with 2 additions and 1 deletions
|
@ -200,6 +200,7 @@ class MinecraftClient(CallbacksHolder, Runnable):
|
||||||
break
|
break
|
||||||
if self._processing: # if client was stopped exit immediately
|
if self._processing: # if client was stopped exit immediately
|
||||||
await asyncio.sleep(self.options.reconnect_delay)
|
await asyncio.sleep(self.options.reconnect_delay)
|
||||||
|
if self._processing:
|
||||||
await self.stop(force=True)
|
await self.stop(force=True)
|
||||||
|
|
||||||
async def _handshake(self) -> bool: # TODO make this fancier! poll for version and status first
|
async def _handshake(self) -> bool: # TODO make this fancier! poll for version and status first
|
||||||
|
|
Loading…
Reference in a new issue