Skip to content

Commit

Permalink
chore!: mark the obsolete Player.Class with the error flag
Browse files Browse the repository at this point in the history
Plugin authors that want to release new versions of their plugin will have to
decide whether they want to use OriginalClass or CurrentClass.
  • Loading branch information
beheh committed Nov 30, 2024
1 parent 36fa36b commit e34c8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hearthstone Deck Tracker/Hearthstone/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ public IEnumerable<SingleCardStats>? MulliganCardStats
}
}

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

0 comments on commit e34c8bf

Please sign in to comment.