mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix missing stuff from defines.
This commit is contained in:
parent
1b7360f8be
commit
3c564add0e
1 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Dalamud.Interface.Internal.Notifications;
|
||||
using Dalamud.Plugin;
|
||||
using Penumbra.Util;
|
||||
|
|
@ -44,7 +46,7 @@ public class ValidityChecker
|
|||
}
|
||||
catch( Exception e )
|
||||
{
|
||||
Log.Error( $"Could not check for dev plugin Penumbra:\n{e}" );
|
||||
Penumbra.Log.Error( $"Could not check for dev plugin Penumbra:\n{e}" );
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
|
|
@ -60,7 +62,7 @@ public class ValidityChecker
|
|||
var ret = checkedDirectory?.Equals( "installedPlugins", StringComparison.OrdinalIgnoreCase ) ?? false;
|
||||
if( !ret )
|
||||
{
|
||||
Log.Error( $"Penumbra is not correctly installed. Application loaded from \"{pi.AssemblyLocation.Directory!.FullName}\"." );
|
||||
Penumbra.Log.Error( $"Penumbra is not correctly installed. Application loaded from \"{pi.AssemblyLocation.Directory!.FullName}\"." );
|
||||
}
|
||||
|
||||
return !ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue