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