mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +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;
|
return ShowUsernameTooltip ? (user?.Username ?? string.Empty) : default_tooltip_text;
|
||||||
}
|
}
|
||||||
set => throw new InvalidOperationException();
|
set => throw new NotSupportedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user