} else { System.err.println("Couldn't get resource bundle from " + "server");
    public void processServerCommand(ConnectionToServer c, ServerCommand s) {        if (s instanceof AddPlayerResponseCommand) {            synchronized (authMutex) {                authenticated = !((AddPlayerResponseCommand)s).isRejected();                if (authenticated) {                    modelRoot.getUserMessageLogger().println			(Resources.get			 ("Player was successfully authenticated"));                    modelRoot.setPlayerPrincipal(((AddPlayerResponseCommand)s).getPrincipal());                    playerConfirmed();                } else {                    modelRoot.getUserMessageLogger().println			(Resources.get("Authentication was rejected"));                }                authMutex.notify();            }        } else if (s instanceof WorldChangedCommand) {            try {                setConnectionImpl(c);            } catch (IOException e) {                modelRoot.getUserMessageLogger().println		    (Resources.get("Unable to open remote connection"));                closeConnection();            } catch (GeneralSecurityException e) {                modelRoot.getUserMessageLogger().println		    (Resources.get("Unable to authenticate with server: ")		     + e.toString());            }        } else if (s instanceof ServerMessageCommand) {	    modelRoot.getUserMessageLogger().println		(Resources.get(((ServerMessageCommand) s).getMessage()));	} else if (s instanceof		ResourceBundleManager.GetResourceResponseCommand) {		ResourceBundleManager.GetResourceResponseCommand response =		    (ResourceBundleManager.GetResourceResponseCommand) s;		if (response.isSuccessful()) {		    Resources.setExternalResourceBundle			(response.getResourceBundle());		}	}    }