diff --git a/Silksong.ModMenu/Directory.Build.props b/Silksong.ModMenu/Directory.Build.props index cd8f36e..aeb5331 100644 --- a/Silksong.ModMenu/Directory.Build.props +++ b/Silksong.ModMenu/Directory.Build.props @@ -11,6 +11,6 @@ It should follow the format major.minor.patch (semantic versioning). If you publish your mod as a library to NuGet, this version will also be used as the package version. --> - 0.7.1 + 0.7.2 diff --git a/Silksong.ModMenu/Models/Attributes.cs b/Silksong.ModMenu/Models/Attributes.cs index a6dab46..62f6656 100644 --- a/Silksong.ModMenu/Models/Attributes.cs +++ b/Silksong.ModMenu/Models/Attributes.cs @@ -22,7 +22,10 @@ public class ModMenuNameAttribute(string customName) : Attribute /// /// Any attribute named "ModMenuIgnoreAttribute" will be treated the same for this functionality, so you can opt-out of ModMenu behaviors without adding ModMenu as a dependency. /// -[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field, AllowMultiple = false)] +[AttributeUsage( + AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property, + AllowMultiple = false +)] public class ModMenuIgnoreAttribute : Attribute { } internal static class AttributeExtensions