Skip to content

Commit

Permalink
Changed layout of account selection in the general tab
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Jan 7, 2023
1 parent 09245bd commit 24fcdfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ public Component getListCellRendererComponent(JList<?> list, Object value, int i
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);
}
Expand Down Expand Up @@ -165,7 +165,7 @@ private void start() {
Options.PROTOCOL_VERSION = serverVersion;
Options.BETACRAFT_AUTH = betaCraftAuth;

if (authMethod == 1) Options.OPENAUTHMOD_AUTH = true;
if (authMethod == 2) Options.OPENAUTHMOD_AUTH = true;

ViaProxy.startProxy();

Expand Down

0 comments on commit 24fcdfc

Please sign in to comment.