From 49ffa3887d79f65f2db583df28904c124ca92d53 Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Sun, 25 Aug 2024 21:06:11 +1000 Subject: [PATCH] feat!(secure): Update to west MatchmakingManager --- nex/register_common_secure_server_protocols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nex/register_common_secure_server_protocols.go b/nex/register_common_secure_server_protocols.go index 673a2f6..fe2a314 100644 --- a/nex/register_common_secure_server_protocols.go +++ b/nex/register_common_secure_server_protocols.go @@ -154,9 +154,9 @@ func registerCommonSecureServerProtocols() { globals.SecureEndpoint.RegisterServiceProtocol(matchmakeExtensionProtocol) commonMatchmakeExtensionProtocol := commonmatchmakeextension.NewCommonProtocol(matchmakeExtensionProtocol) commonMatchmakeExtensionProtocol.SetManager(globals.MatchmakingManager) + commonMatchmakeExtensionProtocol.CanJoinMatchmakeSession = gameSpecificCanJoinMatchmakeSession globals.MatchmakingManager.GetUserFriendPIDs = globals.GetUserFriendPIDs - globals.MatchmakingManager.CanJoinMatchmakeSession = gameSpecificCanJoinMatchmakeSession commonMatchmakeExtensionProtocol.CleanupSearchMatchmakeSession = cleanupSearchMatchmakeSessionHandler if os.Getenv("PN_MINECRAFT_ALLOW_PUBLIC_MATCHMAKING") != "1" {