mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:43:04 +08:00
Use better exception type
This commit is contained in:
parent
199fb0fd85
commit
11296c4ffe
@ -23,7 +23,7 @@ namespace osu.Game.Users.Drawables
|
||||
|
||||
return ShowUsernameTooltip ? (user?.Username ?? string.Empty) : default_tooltip_text;
|
||||
}
|
||||
set => throw new InvalidOperationException();
|
||||
set => throw new NotSupportedException();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user