Return values and method arguments for Java code. Cover common classes such as Player and CreatureObject, 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.
Return values and method arguments for Java code. Cover common classes such as
PlayerandCreatureObject, so we can reduce the likelihood of NullPointerExceptions.Player#getCreatureObjectPlayer#getPlayerObjectThis 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.