mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 12:02:54 +08:00
Seal banned method & throw better exception
This commit is contained in:
parent
228acf25a7
commit
28ca21b432
@ -40,9 +40,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
return drawable;
|
||||
}
|
||||
|
||||
public override void Add(GameplayLeaderboardScore drawable)
|
||||
public sealed override void Add(GameplayLeaderboardScore drawable)
|
||||
{
|
||||
throw new InvalidOperationException($"Use {nameof(AddPlayer)} instead.");
|
||||
throw new NotSupportedException($"Use {nameof(AddPlayer)} instead.");
|
||||
}
|
||||
|
||||
private void sort()
|
||||
|
Loading…
Reference in New Issue
Block a user