mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 04:13:43 +01:00
Use ModManager2
This commit is contained in:
parent
70c1a2604f
commit
afa11f85e2
16 changed files with 131 additions and 542 deletions
|
|
@ -270,9 +270,9 @@ public class ItemSwapTab : IDisposable, ITab
|
|||
_modManager.DataEditor.CreateMeta(newDir, _newModName, _config.DefaultModAuthor, CreateDescription(), "1.0", string.Empty);
|
||||
Mod.Creator.CreateDefaultFiles(newDir);
|
||||
_modManager.AddMod(newDir);
|
||||
if (!_swapData.WriteMod(_modManager, _modManager.Last(),
|
||||
if (!_swapData.WriteMod(_modManager, _modManager[^1],
|
||||
_useFileSwaps ? ItemSwapContainer.WriteType.UseSwaps : ItemSwapContainer.WriteType.NoSwaps))
|
||||
_modManager.DeleteMod(_modManager.Count - 1);
|
||||
_modManager.DeleteMod(_modManager[^1]);
|
||||
}
|
||||
|
||||
private void CreateOption()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue