From dcbe9aa38d537e30e3e483a4ae825d6a211e0464 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Apr 2021 11:39:26 -0400 Subject: [PATCH] docs: note only for cross-world parties --- XivCommon/Functions/PartyFinder.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/XivCommon/Functions/PartyFinder.cs b/XivCommon/Functions/PartyFinder.cs index 3d22cb1..7a96600 100755 --- a/XivCommon/Functions/PartyFinder.cs +++ b/XivCommon/Functions/PartyFinder.cs @@ -27,7 +27,7 @@ namespace XivCommon.Functions { /// /// - /// The event that is fired when the player joins a party via Party Finder. + /// The event that is fired when the player joins a cross-world party via Party Finder. /// /// /// Requires the hook to be enabled. @@ -92,7 +92,12 @@ namespace XivCommon.Functions { var ret = this.JoinPfHook!.Original(manager, a2, type, packetData, a5); - if (type != 1) { + PluginLog.Log($"Join type: {type}"); + // 0 = join cross-world party via invite or convert normal party to cross-world + // 1 = join normal pf + // 3 = leave duty while in cross-world party + + if (this.JoinParty == null || type != 1) { return ret; }