IEnumerable<IMod> GetCustomRepoServerMods(Server server, AdvancedCollection ms) { return ContentManager.GetMods(_modding, server.Mods, ms.CustomRepoMods); }
IEnumerable<IMod> GetServerMods(AdvancedCollection customCollection, Server server) { if (!server.Mods.Any()) return new List<IMod>(); return customCollection != null ? GetCustomRepoServerMods(server, customCollection) : GetServerMods(server); }