diff --git a/MiraAPI/Colors/CustomColor.cs b/MiraAPI/Colors/CustomColor.cs index fa3df61c..6dc3a5fa 100644 --- a/MiraAPI/Colors/CustomColor.cs +++ b/MiraAPI/Colors/CustomColor.cs @@ -42,7 +42,10 @@ public class CustomColor(StringNames? nameId, string? rawId, Color32 mainColor, return name.GetValueOrDefault(); } - internal set => name = value; + internal set + { + name = value; + } } /// diff --git a/MiraAPI/Colors/RegisterCustomColorsAttribute.cs b/MiraAPI/Colors/RegisterCustomColorsAttribute.cs index 899957c9..b7c96206 100644 --- a/MiraAPI/Colors/RegisterCustomColorsAttribute.cs +++ b/MiraAPI/Colors/RegisterCustomColorsAttribute.cs @@ -5,6 +5,7 @@ namespace MiraAPI.Colors; /// /// Used to mark a class for registration. /// +/// The group translation ID prefix to attach to color names before registration. [AttributeUsage(AttributeTargets.Class)] public class RegisterCustomColorsAttribute(string idPrefix) : Attribute {