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();
}
}
Aggregations