diff --git a/BepInEx.Preloader.Core/Patching/Attributes.cs b/BepInEx.Preloader.Core/Patching/Attributes.cs index 95b21c4..c8c76c1 100644 --- a/BepInEx.Preloader.Core/Patching/Attributes.cs +++ b/BepInEx.Preloader.Core/Patching/Attributes.cs @@ -82,7 +82,7 @@ public class PatcherPluginInfoAttribute : Attribute /// /// Defines an assembly that a patch method will target. /// -[AttributeUsage(AttributeTargets.Method)] +[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class TargetAssemblyAttribute : Attribute { /// @@ -108,7 +108,7 @@ public class TargetAssemblyAttribute : Attribute /// /// Defines a type that a patch method will target. /// -[AttributeUsage(AttributeTargets.Method)] +[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class TargetTypeAttribute : Attribute { /// The short filename of the assembly of which belongs to.