fix: pass login code from CLI
This commit is contained in:
parent
f9c97c0c34
commit
39fea517cb
1 changed files with 1 additions and 0 deletions
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue