fix paramter type mismatch
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>2.10.4</Version>
|
||||
<Version>2.10.5</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -142,7 +142,7 @@ public class PluginFeatureController
|
||||
}
|
||||
else if (type.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, []) is ConstructorInfo ctor)
|
||||
{
|
||||
if (ctor.Invoke([this]) is PluginFeature feature)
|
||||
if (ctor.Invoke([]) is PluginFeature feature)
|
||||
Register(feature);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user