fix breaking character data creation when no modded data is present
This commit is contained in:
@@ -238,6 +238,10 @@ public class CharacterDataFactory
|
|||||||
{
|
{
|
||||||
previousData.FileReplacements[objectKind].Clear();
|
previousData.FileReplacements[objectKind].Clear();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
previousData.FileReplacements.Add(objectKind, new());
|
||||||
|
}
|
||||||
|
|
||||||
var chara = _dalamudUtil.CreateGameObject(charaPointer)!;
|
var chara = _dalamudUtil.CreateGameObject(charaPointer)!;
|
||||||
while (!_dalamudUtil.IsObjectPresent(chara))
|
while (!_dalamudUtil.IsObjectPresent(chara))
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>0.4.0</Version>
|
<Version>0.4.1</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ namespace MareSynchronos.Utils
|
|||||||
case LogLevel.Trace:
|
case LogLevel.Trace:
|
||||||
default:
|
default:
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
PluginLog.Debug($"[{name}] [{eventId}] {formatter(state, exception)}");
|
PluginLog.Verbose($"[{name}] [{eventId}] {formatter(state, exception)}");
|
||||||
#else
|
#else
|
||||||
PluginLog.Verbose($"[{name}] {eventId} {state} {formatter(state, exception)}");
|
PluginLog.Verbose($"[{name}] {eventId} {state} {formatter(state, exception)}");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user