Removed unused BashException
This commit is contained in:
@@ -42,9 +42,10 @@ public static class Plugins
|
||||
.Where(IsPluginType)
|
||||
.Select(Activator.CreateInstance)
|
||||
.Cast<ICommandPlugin>()
|
||||
.First();
|
||||
.FirstOrDefault();
|
||||
|
||||
_loaded.Add(plugin);
|
||||
if (plugin is not null)
|
||||
_loaded.Add(plugin);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user