mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-03 06:13:45 +01:00
Fix issue with IPC adding mods before character utility is ready in rare cases.
This commit is contained in:
parent
dcab443b2f
commit
40168d7daf
5 changed files with 60 additions and 15 deletions
|
|
@ -70,6 +70,11 @@ public class ModMetaEditor(
|
|||
|
||||
public static bool DeleteDefaultValues(MetaFileManager metaFileManager, MetaDictionary dict)
|
||||
{
|
||||
if (!metaFileManager.CharacterUtility.Ready)
|
||||
{
|
||||
Penumbra.Log.Warning("Trying to delete default meta values before CharacterUtility was ready, skipped.");
|
||||
return false;
|
||||
}
|
||||
var clone = dict.Clone();
|
||||
dict.ClearForDefault();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue