Add Nullable to Client::getLocalPlayer
At startup on loginscreen this method returns null
This commit is contained in:
@@ -338,6 +338,7 @@ public interface Client extends GameEngine
|
|||||||
*
|
*
|
||||||
* @return the logged in player
|
* @return the logged in player
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
Player getLocalPlayer();
|
Player getLocalPlayer();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user