From 39fea517cb43c1178f34c1fc871df070ccab7dfa Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 20 Nov 2023 18:54:50 +0100 Subject: [PATCH] fix: pass login code from CLI --- src/treepuncher/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/treepuncher/__main__.py b/src/treepuncher/__main__.py index 73e8669..a687ad9 100644 --- a/src/treepuncher/__main__.py +++ b/src/treepuncher/__main__.py @@ -96,6 +96,7 @@ def main(): online_mode=not args.offline, legacy=args.mojang, use_packet_whitelist=args.use_packet_whitelist, + code=args.code, ) except MissingParameterError as e: return logging.error(e.args[0])