Search in sources :

Example 1 with ServerInfoService

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

the class JoinGameScreen method onOpened.

@Override
public void onOpened() {
    super.onOpened();
    infoService = new ServerInfoService();
    if (!config.getPlayer().hasEnteredUsername()) {
        getManager().pushScreen(EnterUsernamePopup.ASSET_URI, EnterUsernamePopup.class);
    }
    if (storageServiceWorker.hasConflictingIdentities()) {
        new IdentityConflictHelper(storageServiceWorker, getManager(), translationSystem).runSolver();
    }
}
Also used : ServerInfoService(org.terasology.network.ServerInfoService)

Aggregations

ServerInfoService (org.terasology.network.ServerInfoService)1