mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-26 18:39:28 +01:00
Add some early support for IMC groups.
This commit is contained in:
parent
d47d31b665
commit
df6eb3fdd2
15 changed files with 360 additions and 146 deletions
|
|
@ -36,7 +36,7 @@ public readonly struct ImcCache : IDisposable
|
|||
|
||||
public bool ApplyMod(MetaFileManager manager, ModCollection collection, ImcManipulation manip)
|
||||
{
|
||||
if (!manip.Validate())
|
||||
if (!manip.Validate(true))
|
||||
return false;
|
||||
|
||||
var idx = _imcManipulations.FindIndex(p => p.Item1.Equals(manip));
|
||||
|
|
@ -77,7 +77,7 @@ public readonly struct ImcCache : IDisposable
|
|||
|
||||
public bool RevertMod(MetaFileManager manager, ModCollection collection, ImcManipulation m)
|
||||
{
|
||||
if (!m.Validate())
|
||||
if (!m.Validate(false))
|
||||
return false;
|
||||
|
||||
var idx = _imcManipulations.FindIndex(p => p.Item1.Equals(m));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue