From 10c3b78b1e9d9cda34974ea5beb0d3afc57db483 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 14 Apr 2022 21:21:02 -0400 Subject: [PATCH] chore: bump to 1.2.3 --- BetterPartyFinder/BetterPartyFinder.csproj | 6 +++--- BetterPartyFinder/PluginUi.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BetterPartyFinder/BetterPartyFinder.csproj b/BetterPartyFinder/BetterPartyFinder.csproj index d354e72..c290471 100755 --- a/BetterPartyFinder/BetterPartyFinder.csproj +++ b/BetterPartyFinder/BetterPartyFinder.csproj @@ -2,7 +2,7 @@ net5-windows - 1.2.2 + 1.2.3 latest enable false @@ -38,8 +38,8 @@ - - + + diff --git a/BetterPartyFinder/PluginUi.cs b/BetterPartyFinder/PluginUi.cs index f040860..6531263 100755 --- a/BetterPartyFinder/PluginUi.cs +++ b/BetterPartyFinder/PluginUi.cs @@ -712,13 +712,13 @@ namespace BetterPartyFinder { return category switch { UiCategory.None => isOther && isDuty && listing.RawDuty == 0, - UiCategory.DutyRoulette => listing.DutyType == DutyType.Roulette && isDuty && (!cr.GetRow(listing.RawDuty)?.Unknown10 ?? false), + UiCategory.DutyRoulette => listing.DutyType == DutyType.Roulette && isDuty && (!cr.GetRow(listing.RawDuty)?.IsPvP ?? false), UiCategory.Dungeons => isNormalDuty && listing.Duty.Value.ContentType.Row == (uint) ContentType2.Dungeons, UiCategory.Guildhests => isNormalDuty && listing.Duty.Value.ContentType.Row == (uint) ContentType2.Guildhests, UiCategory.Trials => isNormalDuty && !listing.Duty.Value.HighEndDuty && listing.Duty.Value.ContentType.Row == (uint) ContentType2.Trials, UiCategory.Raids => isNormalDuty && !listing.Duty.Value.HighEndDuty && listing.Duty.Value.ContentType.Row == (uint) ContentType2.Raids, UiCategory.HighEndDuty => isNormalDuty && listing.Duty.Value.HighEndDuty, - UiCategory.Pvp => listing.DutyType == DutyType.Roulette && isDuty && (cr.GetRow(listing.RawDuty)?.Unknown10 ?? false) + UiCategory.Pvp => listing.DutyType == DutyType.Roulette && isDuty && (cr.GetRow(listing.RawDuty)?.IsPvP ?? false) || isNormalDuty && listing.Duty.Value.ContentType.Row == (uint) ContentType2.Pvp, UiCategory.QuestBattles => isOther && listing.Category == DutyCategory.QuestBattles, UiCategory.Fates => isOther && listing.Category == DutyCategory.Fates,