From 24fcdfcc4dc662fce53080c035b175a1ec36f3a9 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sat, 7 Jan 2023 14:32:41 +0100 Subject: [PATCH] Changed layout of account selection in the general tab --- src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java b/src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java index 9fd04bb..edc091e 100644 --- a/src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java +++ b/src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java @@ -90,11 +90,11 @@ public class GeneralTab extends AUITab { contentPane.add(this.bindPort); } { - JLabel authMethodLabel = new JLabel("Minecraft Account: (used when server is in online mode)"); + JLabel authMethodLabel = new JLabel("Minecraft Account:"); authMethodLabel.setBounds(10, 200, 400, 20); contentPane.add(authMethodLabel); - this.authMethod = new JComboBox<>(new String[]{"Use selected account", "Use OpenAuthMod"}); + this.authMethod = new JComboBox<>(new String[]{"Use no account", "Use selected account", "Use OpenAuthMod"}); this.authMethod.setBounds(10, 220, 465, 20); contentPane.add(this.authMethod); } @@ -165,7 +165,7 @@ public class GeneralTab extends AUITab { Options.PROTOCOL_VERSION = serverVersion; Options.BETACRAFT_AUTH = betaCraftAuth; - if (authMethod == 1) Options.OPENAUTHMOD_AUTH = true; + if (authMethod == 2) Options.OPENAUTHMOD_AUTH = true; ViaProxy.startProxy();