clear warnings

This commit is contained in:
Az committed 2026-11-03 09:30:31 -05:00
1 parent e62d3c4b05
commit d7abb1dcb8
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -42,7 +42,10 @@ public class CustomColor(StringNames? nameId, string? rawId, Color32 mainColor,
return name.GetValueOrDefault();
}
internal set => name = value;
internal set
{
name = value;
}
}
/// <summary>
@@ -5,6 +5,7 @@ namespace MiraAPI.Colors;
/// <summary>
/// Used to mark a class for <see cref="CustomColor"/> registration.
/// </summary>
/// <param name="idPrefix">The group translation ID prefix to attach to color names before registration.</param>
[AttributeUsage(AttributeTargets.Class)]
public class RegisterCustomColorsAttribute(string idPrefix) : Attribute
{