From fe697b1b6367446c2dce464c537dd7510c25dbe5 Mon Sep 17 00:00:00 2001 From: js6pak Date: Tue, 27 Apr 2021 14:58:16 +0200 Subject: [PATCH] Deprecate old ImpostorPluginAttribute constructor --- src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs b/src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs index 1281261..9b207f1 100644 --- a/src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs +++ b/src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs @@ -10,6 +10,7 @@ namespace Impostor.Api.Plugins Id = id; } + [Obsolete("Use (string id) constructor to avoid redundancy")] public ImpostorPluginAttribute(string id, string name, string author, string version) { Id = id; -- 2.39.5