From 1014fcc9f3b76464fe4f42f890176eb4f11331dc Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Sun, 13 Nov 2022 21:16:45 +0100 Subject: [PATCH] handle depricated properties for "IsIconVisibleInChat" and "IsIconVisibleInNameplate" --- PlayerTags/Data/Tag.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/PlayerTags/Data/Tag.cs b/PlayerTags/Data/Tag.cs index a168890..9774806 100644 --- a/PlayerTags/Data/Tag.cs +++ b/PlayerTags/Data/Tag.cs @@ -107,6 +107,18 @@ namespace PlayerTags.Data public InheritableValue CustomId = new InheritableValue(Guid.Empty); + [JsonProperty, Obsolete] + private InheritableValue IsIconVisibleInChat + { + set => IsRoleIconVisibleInChat = value; + } + + [JsonProperty, Obsolete] + private InheritableValue IsIconVisibleInNameplate + { + set => IsRoleIconVisibleInNameplates = value; + } + [InheritableCategory("IconCategory")] public InheritableValue Icon = new InheritableValue(BitmapFontIcon.Aethernet); [InheritableCategory("IconCategory")]