mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-18 06:34:19 +01:00
Some fixes.
This commit is contained in:
parent
a61a96f1ef
commit
a7b90639c6
2 changed files with 12 additions and 5 deletions
|
|
@ -1,4 +1,3 @@
|
|||
using FFXIVClientStructs.FFXIV.Client.Graphics.Render;
|
||||
using OtterGui;
|
||||
using Penumbra.GameData.Enums;
|
||||
using Penumbra.GameData.Structs;
|
||||
|
|
@ -28,7 +27,10 @@ public sealed class EqdpCache(MetaFileManager manager, ModCollection collection)
|
|||
}
|
||||
|
||||
public override void ResetFiles()
|
||||
=> Manager.SetFile(null, MetaIndex.Eqp);
|
||||
{
|
||||
foreach (var t in CharacterUtilityData.EqdpIndices)
|
||||
Manager.SetFile(null, t);
|
||||
}
|
||||
|
||||
protected override void IncorporateChangesInternal()
|
||||
{
|
||||
|
|
@ -90,7 +92,7 @@ public sealed class EqdpCache(MetaFileManager manager, ModCollection collection)
|
|||
if ((origEntry & mask) == entry)
|
||||
return false;
|
||||
|
||||
file[identifier.SetId] = (entry & ~mask) | origEntry;
|
||||
file[identifier.SetId] = (origEntry & ~mask) | entry;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,12 @@ public sealed class EstCache(MetaFileManager manager, ModCollection collection)
|
|||
}
|
||||
|
||||
public override void ResetFiles()
|
||||
=> Manager.SetFile(null, MetaIndex.Eqp);
|
||||
{
|
||||
Manager.SetFile(null, MetaIndex.FaceEst);
|
||||
Manager.SetFile(null, MetaIndex.HairEst);
|
||||
Manager.SetFile(null, MetaIndex.BodyEst);
|
||||
Manager.SetFile(null, MetaIndex.HeadEst);
|
||||
}
|
||||
|
||||
protected override void IncorporateChangesInternal()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue