mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix wrong logging.
This commit is contained in:
parent
bf90725dd2
commit
79a4fc5904
1 changed files with 3 additions and 1 deletions
|
|
@ -99,9 +99,11 @@ public class PcpService : IApiService, IDisposable
|
|||
{
|
||||
// First version had collection.json, changed.
|
||||
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))
|
||||
{
|
||||
Penumbra.Log.Information("[PCPService] Renaming old PCP file from collection.json to character.json.");
|
||||
File.Move(oldFile, file, true);
|
||||
}
|
||||
else
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue