diff --git a/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java b/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java index be8e9dc..f678c01 100644 --- a/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java +++ b/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java @@ -21,18 +21,18 @@ import com.skcraft.launcher.auth.Session; import com.skcraft.launcher.builder.BuilderConfig; import com.skcraft.launcher.builder.FnPatternList; import com.skcraft.launcher.creator.Creator; -import com.skcraft.launcher.creator.model.creator.*; import com.skcraft.launcher.creator.controller.task.*; import com.skcraft.launcher.creator.dialog.*; import com.skcraft.launcher.creator.dialog.BuildDialog.BuildOptions; import com.skcraft.launcher.creator.dialog.DeployServerDialog.DeployOptions; +import com.skcraft.launcher.creator.model.creator.*; import com.skcraft.launcher.creator.model.swing.PackTableModel; import com.skcraft.launcher.creator.server.TestServer; import com.skcraft.launcher.creator.server.TestServerBuilder; import com.skcraft.launcher.creator.swing.PackDirectoryFilter; +import com.skcraft.launcher.dialog.AccountSelectDialog; import com.skcraft.launcher.dialog.ConfigurationDialog; import com.skcraft.launcher.dialog.ConsoleFrame; -import com.skcraft.launcher.dialog.LoginDialog; import com.skcraft.launcher.dialog.ProgressDialog; import com.skcraft.launcher.model.modpack.LaunchModifier; import com.skcraft.launcher.persistence.Persistence; @@ -225,7 +225,7 @@ public class PackManagerController { if (config.isOfflineEnabled()) { return true; } else { - Session session = LoginDialog.showLoginRequest(frame, launcher); + Session session = AccountSelectDialog.showAccountRequest(frame, launcher); if (session != null) { config.setOfflineEnabled(true); Persistence.commitAndForget(config); @@ -734,7 +734,7 @@ public class PackManagerController { Session session; if (online) { - session = LoginDialog.showLoginRequest(frame, launcher); + session = AccountSelectDialog.showAccountRequest(frame, launcher); if (session == null) { return; }