Ejemplo n.º 1
0
 void clientLoggedIn(NetHandler clientHandler, NetworkManager manager, Packet1Login login) {
   generateChannelRegistration(clientHandler.getPlayer(), clientHandler, manager);
   for (IConnectionHandler handler : connectionHandlers) {
     handler.clientLoggedIn(clientHandler, manager, login);
   }
 }
Ejemplo n.º 2
0
 void playerLoggedIn(EntityPlayerMP player, NetServerHandler netHandler, NetworkManager manager) {
   generateChannelRegistration(player, netHandler, manager);
   for (IConnectionHandler handler : connectionHandlers) {
     handler.playerLoggedIn((Player) player, netHandler, manager);
   }
 }