update filter on assembly resolver
This commit is contained in:
parent
ba911f26ec
commit
003945c241
@ -68,7 +68,7 @@ namespace IW4MAdmin.Application
|
|||||||
var overrides = new[] { nameof(SharedLibraryCore), nameof(Stats) };
|
var overrides = new[] { nameof(SharedLibraryCore), nameof(Stats) };
|
||||||
if (!overrides.Contains(libraryName))
|
if (!overrides.Contains(libraryName))
|
||||||
{
|
{
|
||||||
return AppDomain.CurrentDomain.GetAssemblies().First(asm => asm.FullName == eventArgs.Name);
|
return AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(asm => asm.FullName == eventArgs.Name);
|
||||||
}
|
}
|
||||||
// added to be a bit more permissive with plugin references
|
// added to be a bit more permissive with plugin references
|
||||||
return AppDomain.CurrentDomain.GetAssemblies()
|
return AppDomain.CurrentDomain.GetAssemblies()
|
||||||
|
Loading…
Reference in New Issue
Block a user