Update PayloadHandler.cs
Fix for new CE
This commit is contained in:
@@ -612,7 +612,7 @@ public sealed class PayloadHandler
|
|||||||
var member = party.FirstOrDefault(member => member.Name.TextValue == player.PlayerName && member.World.RowId == world.RowId);
|
var member = party.FirstOrDefault(member => member.Name.TextValue == player.PlayerName && member.World.RowId == world.RowId);
|
||||||
var isInParty = member != null;
|
var isInParty = member != null;
|
||||||
var inInstance = GameFunctions.GameFunctions.IsInInstance();
|
var inInstance = GameFunctions.GameFunctions.IsInInstance();
|
||||||
var inPartyInstance = Sheets.TerritorySheet.GetRow(Plugin.ClientState.TerritoryType).TerritoryIntendedUse.RowId is (41 or 47 or 48 or 52 or 53);
|
var inPartyInstance = Sheets.TerritorySheet.GetRow(Plugin.ClientState.TerritoryType).TerritoryIntendedUse.RowId is (41 or 47 or 48 or 52 or 53 or 61);
|
||||||
if (isLeader)
|
if (isLeader)
|
||||||
{
|
{
|
||||||
if (!isInParty)
|
if (!isInParty)
|
||||||
|
|||||||
Reference in New Issue
Block a user