Mark (commonly used) Java methods NotNull/Nullable #1490
Labels
[Common Player] Service
Most common services for the player
IMPROVEMENT
Enhancement of an existing feature
Return values and method arguments for Java code. Cover common classes such as
Player
andCreatureObject
, so we can reduce the likelihood of NullPointerExceptions.Player#getCreatureObject
Player#getPlayerObject
This will also help with the Kotlin conversion somewhat, as we're required to be explicit about nullability there.
These changes alone will result in a big diff, so definitely try to keep the changes simple.
The text was updated successfully, but these errors were encountered: