Skip to content

Commit b04383a

Browse files
committed
fix exiled events
1 parent a47cdd3 commit b04383a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CedMod/Plugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ private bool IsDerivedFromExiledPlugin(Type type)
517517
if (type?.IsGenericType ?? false)
518518
{
519519
Type genericDef = type.GetGenericTypeDefinition();
520-
if (genericDef == typeof(LabApi.Loader.Features.Plugins.Plugin<>) || genericDef == typeof(Plugin<,>))
520+
if (genericDef == typeof(Exiled.API.Features.Plugin<>) || genericDef == typeof(Plugin<,>))
521521
return true;
522522
}
523523
}

0 commit comments

Comments
 (0)