Why can't this just work?

This commit is contained in:
JFronny 2021-11-11 21:01:05 +01:00
parent 7a920d3218
commit 062461dc0c
No known key found for this signature in database
GPG Key ID: BEC5ACBBD4EE17E5
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package io.gitlab.jfronny.inceptum.model.inceptum;
public class Config {
public boolean snapshots = false;
public boolean darkTheme = false;
public boolean enforceAccount = true;
public String lastAccount;
public UpdateChannel channel = UpdateChannel.Stable;
}

View File

@ -24,7 +24,7 @@ import java.util.concurrent.atomic.AtomicReference;
public class ClientLauncher {
public static void launch(Path path, InstanceMeta instance) {
if (AccountManager.accountMissing()) {
if (AccountManager.accountMissing() && Inceptum.CONFIG.enforceAccount) {
Inceptum.showError("You have not set up an account.\nDoing so is required to play Minecraft", "Not authenticated");
return;
}