mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Fix server editing
This commit is contained in:
parent
e2479b8e9a
commit
9bd9c5e176
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ public class UIHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
int serverIndex = Integer.parseInt(data.getInput(0).split(":")[1].trim());
|
int serverIndex = Integer.parseInt(((CustomForm)player.getCurrentWindow()).getContent().get(0).getText().split(":")[1].trim());
|
||||||
|
|
||||||
String address = data.getInput(1);
|
String address = data.getInput(1);
|
||||||
int port = Integer.parseInt(data.getInput(2));
|
int port = Integer.parseInt(data.getInput(2));
|
||||||
|
|
Loading…
Add table
Reference in a new issue