diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs
index 874e88c574..2e4b23bcf8 100644
--- a/Emby.Server.Implementations/Plugins/PluginManager.cs
+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs
@@ -413,7 +413,7 @@ namespace Emby.Server.Implementations.Plugins
///
/// The type.
/// System.Object.
- private object? CreatePluginInstance(Type type)
+ private IPlugin? CreatePluginInstance(Type type)
{
// Find the record for this plugin.
var plugin = GetPluginByType(type);