Пример #1
0
 void connectionOpened(
     NetHandler netClientHandler, MinecraftServer server, NetworkManager networkManager) {
   for (IConnectionHandler handler : connectionHandlers) {
     handler.connectionOpened(netClientHandler, server, networkManager);
   }
 }
Пример #2
0
 void connectionOpened(
     NetHandler netClientHandler, String server, int port, NetworkManager networkManager) {
   for (IConnectionHandler handler : connectionHandlers) {
     handler.connectionOpened(netClientHandler, server, port, networkManager);
   }
 }