fix breaking character data creation when no modded data is present

This commit is contained in:
Stanley Dimant
2022-09-10 17:38:00 +02:00
parent 10a6dbda54
commit 23f01bc50c
3 changed files with 6 additions and 2 deletions

View File

@@ -238,6 +238,10 @@ public class CharacterDataFactory
{
previousData.FileReplacements[objectKind].Clear();
}
else
{
previousData.FileReplacements.Add(objectKind, new());
}
var chara = _dalamudUtil.CreateGameObject(charaPointer)!;
while (!_dalamudUtil.IsObjectPresent(chara))

View File

@@ -3,7 +3,7 @@
<PropertyGroup>
<Authors></Authors>
<Company></Company>
<Version>0.4.0</Version>
<Version>0.4.1</Version>
<Description></Description>
<Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -94,7 +94,7 @@ namespace MareSynchronos.Utils
case LogLevel.Trace:
default:
#if DEBUG
PluginLog.Debug($"[{name}] [{eventId}] {formatter(state, exception)}");
PluginLog.Verbose($"[{name}] [{eventId}] {formatter(state, exception)}");
#else
PluginLog.Verbose($"[{name}] {eventId} {state} {formatter(state, exception)}");
#endif