fix: must be None

This commit is contained in:
əlemi 2023-02-16 18:21:26 +01:00
parent 98c82bcbcf
commit f5256da6bf
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -95,7 +95,7 @@ def main():
try: try:
client = Treepuncher( client = Treepuncher(
args.name, args.name,
server=args.server, server=args.server or None,
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,