Search in sources :

Example 1 with ServerInfoService

use of org.terasology.engine.network.ServerInfoService in project Terasology by MovingBlocks.

the class JoinGameScreen method onOpened.

@Override
public void onOpened() {
    super.onOpened();
    infoService = new ServerInfoService();
    if (playerConfig.playerName.getDefaultValue().equals(playerConfig.playerName.get())) {
        getManager().pushScreen(EnterUsernamePopup.ASSET_URI, EnterUsernamePopup.class);
    }
    if (storageServiceWorker.hasConflictingIdentities()) {
        new IdentityConflictHelper(storageServiceWorker, getManager(), translationSystem).runSolver();
    }
}
Also used : ServerInfoService(org.terasology.engine.network.ServerInfoService)

Aggregations

ServerInfoService (org.terasology.engine.network.ServerInfoService)1