From fef85e0597f45fb2ed239cd766bf351c45bbdd01 Mon Sep 17 00:00:00 2001 From: Benedict Etzel Date: Sat, 30 Nov 2024 23:44:27 +0100 Subject: [PATCH] chore!: mark the obsolete Player.Class with the error flag Plugin authors that want to release new versions of their plugin will have to decide whether they want to use OriginalClass or CurrentClass. --- Hearthstone Deck Tracker/Hearthstone/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hearthstone Deck Tracker/Hearthstone/Player.cs b/Hearthstone Deck Tracker/Hearthstone/Player.cs index 26e9a8791..5d4e6a3e1 100644 --- a/Hearthstone Deck Tracker/Hearthstone/Player.cs +++ b/Hearthstone Deck Tracker/Hearthstone/Player.cs @@ -851,7 +851,7 @@ public IEnumerable? MulliganCardStats } } - [Obsolete("Use OriginalClass or CurrentClass instead")] + [Obsolete("Use OriginalClass or CurrentClass instead", true)] public string? Class => OriginalClass; } }