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