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,7 +200,8 @@ 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)
|
||||||
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
|
async def _handshake(self) -> bool: # TODO make this fancier! poll for version and status first
|
||||||
await self.dispatcher.write(
|
await self.dispatcher.write(
|
||||||
|
|
Loading…
Reference in a new issue