use of io.xol.chunkstories.server.player.ServerPlayer in project chunkstories by Hugobros3.
the class ClientsManager method registerPlayer.
/**
* Used by ClientConnection after a successfull login procedure
*/
void registerPlayer(ClientConnection clientConnection) {
ServerPlayer player = clientConnection.getPlayer();
this.players.put(player.getName(), player);
this.playersByUUID.put(player.getUUID(), player);
}
Aggregations