NOISSUE in offline mode, do not contact the auth server if there is a valid account already
This commit is contained in:
@ -22,12 +22,6 @@ LaunchController::LaunchController(QObject *parent) : Task(parent)
|
||||
}
|
||||
|
||||
void LaunchController::executeTask()
|
||||
{
|
||||
login();
|
||||
}
|
||||
|
||||
// FIXME: minecraft specific
|
||||
void LaunchController::login()
|
||||
{
|
||||
if (!m_instance)
|
||||
{
|
||||
@ -35,6 +29,12 @@ void LaunchController::login()
|
||||
return;
|
||||
}
|
||||
|
||||
login();
|
||||
}
|
||||
|
||||
// FIXME: minecraft specific
|
||||
void LaunchController::login()
|
||||
{
|
||||
JavaCommon::checkJVMArgs(m_instance->settings()->get("JvmArgs").toString(), m_parentWidget);
|
||||
|
||||
// Find an account to use.
|
||||
|
Reference in New Issue
Block a user