mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
update filter on assembly resolver
This commit is contained in:
parent
c8691f4f9a
commit
19ba89836b
@ -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…
x
Reference in New Issue
Block a user