mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-21 11:45:16 +01:00
Now trimming server address to strip leading/trailing spaces
This commit is contained in:
parent
6e1ea9b74b
commit
ca064e157b
@ -6,4 +6,4 @@ org.gradle.configureondemand=true
|
||||
# Project properties
|
||||
maven_name=ViaProxy
|
||||
maven_group=net.raphimc
|
||||
maven_version=3.0.4
|
||||
maven_version=3.0.5
|
||||
|
@ -147,7 +147,7 @@ public class GeneralTab extends AUITab {
|
||||
this.stateButton.setText("Starting...");
|
||||
|
||||
new Thread(() -> {
|
||||
final String serverAddress = this.serverAddress.getText();
|
||||
final String serverAddress = this.serverAddress.getText().trim();
|
||||
final VersionEnum serverVersion = (VersionEnum) this.serverVersion.getSelectedItem();
|
||||
final int bindPort = (int) this.bindPort.getValue();
|
||||
final int authMethod = this.authMethod.getSelectedIndex();
|
||||
|
Loading…
Reference in New Issue
Block a user