diff --git a/plugins/utilities.json b/plugins/utilities.json index 6d89910..e1d1cd7 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -102,6 +102,12 @@ } ], "versions": { + "2.0.2": { + "api_version": 9, + "commit_sha": "2f1d9cd", + "released_on": "25-01-2025", + "md5sum": "5df299bf8a5a8a1c8ee2a8535342f5ab" + }, "2.0.1": { "api_version": 9, "commit_sha": "506451f", diff --git a/plugins/utilities/rejoin.py b/plugins/utilities/rejoin.py index e78c98c..6716dd2 100644 --- a/plugins/utilities/rejoin.py +++ b/plugins/utilities/rejoin.py @@ -10,13 +10,13 @@ k = bs.connect_to_party def j(address, port=43210, print_progress=False): try: - if bs.get_connection_to_host_info() is not None: + if bool(bs.get_connection_to_host_info_2()): bs.disconnect_from_host() - m.i = address - m.p = port - k(m.i, m.p, print_progress) except: pass + m.i = address + m.p = port + k(m.i, m.p, print_progress) def R(s):