mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Update UIHandler.java
This commit is contained in:
parent
5e46415ac9
commit
613beaea08
1 changed files with 6 additions and 6 deletions
|
@ -49,18 +49,18 @@ public class UIHandler {
|
||||||
* @return A {@link SimpleForm} object
|
* @return A {@link SimpleForm} object
|
||||||
*/
|
*/
|
||||||
public static Form getMainMenu() {
|
public static Form getMainMenu() {
|
||||||
SimpleForm.Builder window = SimpleForm.builder().title("Main Menu");
|
SimpleForm.Builder window = SimpleForm.builder().title("Menu");
|
||||||
|
|
||||||
window.button("Official Servers");
|
window.button("Polskie serwery");
|
||||||
window.button("Geyser Servers");
|
window.button("Zagraniczne");
|
||||||
|
|
||||||
// Add a buttons for custom servers
|
// Add a buttons for custom servers
|
||||||
if (MasterServer.getInstance().getGeyserConnectConfig().getCustomServers().isEnabled()) {
|
if (MasterServer.getInstance().getGeyserConnectConfig().getCustomServers().isEnabled()) {
|
||||||
window.button("Custom Servers");
|
window.button("Wlasny serwer");
|
||||||
window.button("Direct connect");
|
window.button("Polaczenie bezposredne");
|
||||||
}
|
}
|
||||||
|
|
||||||
window.button("Disconnect");
|
window.button("Rozlacz");
|
||||||
|
|
||||||
return window.build();
|
return window.build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue