mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 19:35:00 -04:00
clarify auto connect no account message, #53
This commit is contained in:
parent
cc3211b045
commit
4d8f8de18c
@ -182,7 +182,7 @@ object Minosoft {
|
||||
val address = split[0]
|
||||
val version = Versions.getVersionByName(split.getOrNull(1) ?: "automatic") ?: throw IllegalArgumentException("Auto connect: Version not found!")
|
||||
val accountProfile = AccountProfileManager.selected
|
||||
val account = accountProfile.entries[split.getOrNull(2)] ?: accountProfile.selected ?: throw RuntimeException("Auto connect: Account not found!")
|
||||
val account = accountProfile.entries[split.getOrNull(2)] ?: accountProfile.selected ?: throw RuntimeException("Auto connect: Account not found! Have you started normal before or added an account?")
|
||||
|
||||
if (version == Versions.AUTOMATIC_VERSION) {
|
||||
Log.log(LogMessageType.AUTO_CONNECT, LogLevels.INFO) { "Pinging server to get version..." }
|
||||
|
Loading…
x
Reference in New Issue
Block a user