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 0da9aac..d16eee4 100644 --- a/src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java +++ b/src/main/java/net/raphimc/viaproxy/ui/impl/GeneralTab.java @@ -182,7 +182,7 @@ public class GeneralTab extends AUITab { this.betaCraftAuth.setEnabled(state); ViaProxy.ui.advancedTab.proxyOnlineMode.setEnabled(state); ViaProxy.ui.advancedTab.proxy.setEnabled(state); - if (state) this.serverVersion.actionPerformed(null); + if (state) this.serverVersion.getActionListeners()[0].actionPerformed(null); } private void updateStateLabel() {