fix: pass login code from CLI

This commit is contained in:
əlemi 2023-11-20 18:54:50 +01:00
parent f9c97c0c34
commit 39fea517cb
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -96,6 +96,7 @@ def main():
online_mode=not args.offline, online_mode=not args.offline,
legacy=args.mojang, legacy=args.mojang,
use_packet_whitelist=args.use_packet_whitelist, use_packet_whitelist=args.use_packet_whitelist,
code=args.code,
) )
except MissingParameterError as e: except MissingParameterError as e:
return logging.error(e.args[0]) return logging.error(e.args[0])