From 7bd37c29f0b358b45eba07d155bde012c8edc3b5 Mon Sep 17 00:00:00 2001 From: Ritabrata Das Date: Tue, 1 Jul 2025 16:22:36 +0530 Subject: fix login triggerhook on 2018 version join --- proxy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proxy.py b/proxy.py index 9073cf0..1ad1cc0 100644 --- a/proxy.py +++ b/proxy.py @@ -173,8 +173,7 @@ async def handle_client(client_reader, client_writer): message_to_client.append(YSchat.message(f"Porting you to YSFlight {YSF_VERSION}, This is currently Experimental")) message_to_client.append(YSchat.message(f"Please report any bugs to the server admin or join with the correct version")) data = YSviaversion.genViaVersion(player.username, YSF_VERSION) #TODO: Refactor using the FSNETCMD packet. - writer.write(data) - continue + data = data elif packet_type == "FSNETCMD_JOINREQUEST": decode = FSNETCMD_JOINREQUEST(packet) -- cgit v1.2.3