Skip to content

Commit 0469a01

Browse files
authored
Fix IsPvPExcludingDen
1 parent dbbc230 commit 0469a01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dalamud/Game/ClientState/ClientState.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public unsafe bool IsLoggedIn
137137
public bool IsPvP { get; private set; }
138138

139139
/// <inheritdoc/>
140-
public bool IsPvPExcludingDen { get; private set; }
140+
public bool IsPvPExcludingDen => this.IsPvP && this.TerritoryType != 250;
141141

142142
/// <inheritdoc />
143143
public bool IsGPosing => GameMain.IsInGPose();
@@ -195,7 +195,6 @@ private unsafe void SetupTerritoryTypeDetour(EventFramework* eventFramework, ush
195195
if (isPvP != this.IsPvP)
196196
{
197197
this.IsPvP = isPvP;
198-
this.IsPvPExcludingDen = this.IsPvP && this.TerritoryType != 250;
199198

200199
if (this.IsPvP)
201200
{

0 commit comments

Comments
 (0)