Fix wrong logging.

This commit is contained in:
Ottermandias 2025-08-25 10:13:48 +02:00
parent bf90725dd2
commit 79a4fc5904

View file

@ -99,9 +99,11 @@ public class PcpService : IApiService, IDisposable
{ {
// First version had collection.json, changed. // First version had collection.json, changed.
var oldFile = Path.Combine(newDirectory.FullName, "collection.json"); var oldFile = Path.Combine(newDirectory.FullName, "collection.json");
Penumbra.Log.Information("[PCPService] Renaming old PCP file from collection.json to character.json.");
if (File.Exists(oldFile)) if (File.Exists(oldFile))
{
Penumbra.Log.Information("[PCPService] Renaming old PCP file from collection.json to character.json.");
File.Move(oldFile, file, true); File.Move(oldFile, file, true);
}
else else
return; return;
} }