private static Champion Initialize() { if (!SupportedChampions.Any()) { return(null); } var type = SupportedChampions.FirstOrDefault(x => x.Name.Equals(ObjectManager.Player.CharacterName, StringComparison.OrdinalIgnoreCase)); if (type == null) { return(null); } return((Champion)DynamicInitializer.NewInstance(type)); }