From 2e12401de5397bc34378d40a5b05892a25d52032 Mon Sep 17 00:00:00 2001 From: Vishal Date: Sat, 25 Jan 2025 20:50:52 +0530 Subject: [PATCH 1/3] Fixing a bug --- plugins/utilities.json | 1 + plugins/utilities/rejoin.py | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 6d89910..849e61d 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -102,6 +102,7 @@ } ], "versions": { + "2.0.2": null, "2.0.1": { "api_version": 9, "commit_sha": "506451f", diff --git a/plugins/utilities/rejoin.py b/plugins/utilities/rejoin.py index e78c98c..6546fad 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): @@ -32,4 +32,4 @@ def R(s): class byBordd(v): def __init__(s): m._refresh_in_game = R(m._refresh_in_game) - bs.connect_to_party = j + bs.connect_to_party = j \ No newline at end of file From 2f1d9cdeae43bc17b22902f3254c96c02374588c Mon Sep 17 00:00:00 2001 From: Vishal Date: Sat, 25 Jan 2025 20:51:53 +0530 Subject: [PATCH 2/3] Update rejoin.py --- plugins/utilities/rejoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/rejoin.py b/plugins/utilities/rejoin.py index 6546fad..6716dd2 100644 --- a/plugins/utilities/rejoin.py +++ b/plugins/utilities/rejoin.py @@ -32,4 +32,4 @@ def R(s): class byBordd(v): def __init__(s): m._refresh_in_game = R(m._refresh_in_game) - bs.connect_to_party = j \ No newline at end of file + bs.connect_to_party = j From 6d3b61a43be865663757e67614d6306a8feaff94 Mon Sep 17 00:00:00 2001 From: vishal332008 <76160371+vishal332008@users.noreply.github.com> Date: Sat, 25 Jan 2025 15:22:47 +0000 Subject: [PATCH 3/3] [ci] apply-version-metadata --- plugins/utilities.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 849e61d..e1d1cd7 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -102,7 +102,12 @@ } ], "versions": { - "2.0.2": null, + "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",