ClientServerConnectEvent (#8309)

This commit is contained in:
MEEPofFaith
2023-02-18 16:48:22 -08:00
committed by GitHub
parent b65c3cd931
commit 29f36c1927
2 changed files with 12 additions and 0 deletions

View File

@@ -162,6 +162,16 @@ public class EventType{
}
}
public static class ClientServerConnectEvent{
public final String ip;
public final int port;
public ClientServerConnectEvent(String ip, int port){
this.ip = ip;
this.port = port;
}
}
/** Consider using Menus.registerMenu instead. */
public static class MenuOptionChooseEvent{
public final Player player;