mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 07:47:45 +01:00
Fix obsolete warnings
This commit is contained in:
parent
878080d660
commit
68c02caf37
1 changed files with 5 additions and 5 deletions
|
|
@ -212,7 +212,7 @@ internal unsafe class RecipeData : IInternalDisposableService
|
||||||
_ => default,
|
_ => default,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (PlayerState.Instance()->UnlockedSecretRecipeBooksBitmask.TryCheckBitInSpan(bitIndex, out var result) && result)
|
if (PlayerState.Instance()->UnlockedSecretRecipeBooksBitArray.Get(bitIndex))
|
||||||
{
|
{
|
||||||
secretRecipeBookUnlocked = true;
|
secretRecipeBookUnlocked = true;
|
||||||
break;
|
break;
|
||||||
|
|
@ -254,15 +254,15 @@ internal unsafe class RecipeData : IInternalDisposableService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.cachedUnlockedSecretRecipeBooks == null || !PlayerState.Instance()->UnlockedSecretRecipeBooksBitmask.SequenceEqual(this.cachedUnlockedSecretRecipeBooks))
|
if (this.cachedUnlockedSecretRecipeBooks == null || !PlayerState.Instance()->UnlockedSecretRecipeBooks.SequenceEqual(this.cachedUnlockedSecretRecipeBooks))
|
||||||
{
|
{
|
||||||
this.cachedUnlockedSecretRecipeBooks = PlayerState.Instance()->UnlockedSecretRecipeBooksBitmask.ToArray();
|
this.cachedUnlockedSecretRecipeBooks = PlayerState.Instance()->UnlockedSecretRecipeBooks.ToArray();
|
||||||
changed |= true;
|
changed |= true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.cachedUnlockLinks == null || !UIState.Instance()->UnlockLinkBitmask.SequenceEqual(this.cachedUnlockLinks))
|
if (this.cachedUnlockLinks == null || !UIState.Instance()->UnlockLinks.SequenceEqual(this.cachedUnlockLinks))
|
||||||
{
|
{
|
||||||
this.cachedUnlockLinks = UIState.Instance()->UnlockLinkBitmask.ToArray();
|
this.cachedUnlockLinks = UIState.Instance()->UnlockLinks.ToArray();
|
||||||
changed |= true;
|
changed |= true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue