From de999b78959c568d5ca053ab092c214969064022 Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Sun, 24 Nov 2024 21:35:00 +0100 Subject: [PATCH] Fix IsPvPExcludingDen (#2120) --- Dalamud/Game/ClientState/ClientState.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dalamud/Game/ClientState/ClientState.cs b/Dalamud/Game/ClientState/ClientState.cs index 4ab69b391..c898e107a 100644 --- a/Dalamud/Game/ClientState/ClientState.cs +++ b/Dalamud/Game/ClientState/ClientState.cs @@ -137,7 +137,7 @@ internal sealed class ClientState : IInternalDisposableService, IClientState public bool IsPvP { get; private set; } /// - public bool IsPvPExcludingDen { get; private set; } + public bool IsPvPExcludingDen => this.IsPvP && this.TerritoryType != 250; /// public bool IsGPosing => GameMain.IsInGPose(); @@ -195,7 +195,6 @@ internal sealed class ClientState : IInternalDisposableService, IClientState if (isPvP != this.IsPvP) { this.IsPvP = isPvP; - this.IsPvPExcludingDen = this.IsPvP && this.TerritoryType != 250; if (this.IsPvP) {