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