Reflector: Don't warn for null plugins (i.e. disabled) if suppressErrors is set
This commit is contained in:
parent
6dfc18ee6a
commit
912a7b04ce
@ -81,7 +81,8 @@ public sealed class DalamudReflector : IDisposable
|
||||
.GetField("instance", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(t);
|
||||
if (plugin == null)
|
||||
{
|
||||
_pluginLog.Warning($"[DalamudReflector] Found requested plugin {internalName} but it was null");
|
||||
if (!suppressErrors)
|
||||
_pluginLog.Warning($"[DalamudReflector] Found requested plugin {internalName} but it was null");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user