mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix IsPvPExcludingDen (#2120)
This commit is contained in:
parent
2fd8e49b34
commit
de999b7895
1 changed files with 1 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ internal sealed class ClientState : IInternalDisposableService, IClientState
|
|||
public bool IsPvP { get; private set; }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsPvPExcludingDen { get; private set; }
|
||||
public bool IsPvPExcludingDen => this.IsPvP && this.TerritoryType != 250;
|
||||
|
||||
/// <inheritdoc />
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue