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