mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Changed layout of account selection in the general tab
This commit is contained in:
parent
09245bd84e
commit
24fcdfcc4d
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue