This commit is contained in:
MapleWheels
2026-02-06 18:50:27 -05:00
committed by Maplewheels
parent c84d9660e2
commit 2c29969bfb
@@ -223,7 +223,8 @@ public class PluginManagementService : IAssemblyManagementService
foreach (var type in ass.GetSafeTypes()) foreach (var type in ass.GetSafeTypes())
{ {
if ((includeInterfaces || !type.IsInterface) if ((includeInterfaces || !type.IsInterface)
&& (includeAbstractTypes || !type.IsAbstract)) && (includeAbstractTypes || !type.IsAbstract)
&& type.IsAssignableTo(typeof(T)))
{ {
builder.Add(type); builder.Add(type);
} }