Small fixes.

This commit is contained in:
Ottermandias 2022-04-27 17:36:04 +02:00
parent c78725d7d5
commit e8a0ac98ad
2 changed files with 3 additions and 1 deletions

View file

@ -69,7 +69,7 @@ public unsafe class ImcFile : MetaBaseFile
public readonly Utf8GamePath Path;
public readonly int NumParts;
public bool ChangesSinceLoad = false;
public bool ChangesSinceLoad = true;
public ReadOnlySpan< ImcEntry > Span
=> new(( ImcEntry* )( Data + PreambleSize ), ( Length - PreambleSize ) / sizeof( ImcEntry ));

View file

@ -160,6 +160,7 @@ public class Penumbra : IDalamudPlugin
Config.EnableMods = true;
ResourceLoader.EnableReplacements();
CollectionManager.Default.SetFiles();
ResidentResources.Reload();
Config.Save();
@ -176,6 +177,7 @@ public class Penumbra : IDalamudPlugin
Config.EnableMods = false;
ResourceLoader.DisableReplacements();
CharacterUtility.ResetAll();
ResidentResources.Reload();
Config.Save();