From 6fb19c1c81e9384bb9988c506f430ac2a26b423e Mon Sep 17 00:00:00 2001
From: goat <16760685+goaaats@users.noreply.github.com>
Date: Tue, 24 Aug 2021 01:35:52 +0200
Subject: [PATCH] fix: allow RequiredVersionAttribute on Properties
---
Dalamud/IoC/RequiredVersionAttribute.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dalamud/IoC/RequiredVersionAttribute.cs b/Dalamud/IoC/RequiredVersionAttribute.cs
index 537d6e7a6..a456ef783 100644
--- a/Dalamud/IoC/RequiredVersionAttribute.cs
+++ b/Dalamud/IoC/RequiredVersionAttribute.cs
@@ -5,7 +5,7 @@ namespace Dalamud.IoC
///
/// This attribute indicates the version of a service module that is required for the plugin to load.
///
- [AttributeUsage(AttributeTargets.Parameter)]
+ [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
public class RequiredVersionAttribute : Attribute
{
///