Whenever the API returns a Title object, that object may be null in the event that the player is untitled. Previously, this was dealt with inconsistently throughout the docs. This PR encodes the null possibility in the Title type, and switches several instances of other types to Title for consistency.
Whenever the API returns a
Title
object, that object may benull
in the event that the player is untitled. Previously, this was dealt with inconsistently throughout the docs. This PR encodes thenull
possibility in theTitle
type, and switches several instances of other types toTitle
for consistency.