Skip to content

Commit

Permalink
fix: restore backwards-compatibility for plugins relying on Player.Class
Browse files Browse the repository at this point in the history
Fixes #4592
  • Loading branch information
beheh committed Nov 18, 2024
1 parent ed7bb3f commit 5e68f84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Hearthstone Deck Tracker/Hearthstone/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -847,5 +847,8 @@ public IEnumerable<SingleCardStats>? MulliganCardStats
Core.UpdatePlayerCards(true);
}
}

[Obsolete("Use OriginalClass or CurrentClass instead")]
public string? Class => OriginalClass;
}
}

0 comments on commit 5e68f84

Please sign in to comment.