Why can't this just work?
This commit is contained in:
parent
7a920d3218
commit
062461dc0c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue