From 4f01facd7c1d967fb1d2f2c53243e6bb83d778c9 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:07:25 -0400 Subject: [PATCH] missing AttributeUsage for gamemode attribute --- MiraAPI/GameModes/RegisterGameModeAttribute.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MiraAPI/GameModes/RegisterGameModeAttribute.cs b/MiraAPI/GameModes/RegisterGameModeAttribute.cs index 54f134a..455e6cd 100644 --- a/MiraAPI/GameModes/RegisterGameModeAttribute.cs +++ b/MiraAPI/GameModes/RegisterGameModeAttribute.cs @@ -4,6 +4,7 @@ using System.Reflection; namespace MiraAPI.GameModes; +[AttributeUsage(AttributeTargets.Class)] public class RegisterGameModeAttribute : Attribute { private static readonly HashSet RegisteredAssemblies = [];