diff --git a/src/DiIiS-NA/BGS-Server/ServicesSystem/Service.cs b/src/DiIiS-NA/BGS-Server/ServicesSystem/Service.cs index abe8b30..cb3b8ae 100644 --- a/src/DiIiS-NA/BGS-Server/ServicesSystem/Service.cs +++ b/src/DiIiS-NA/BGS-Server/ServicesSystem/Service.cs @@ -28,14 +28,14 @@ namespace DiIiS_NA.LoginServer.ServicesSystem public static class Service { private static uint _notImplementedServiceCounter = 99; - public readonly static Dictionary ProvidedServices = new Dictionary(); - public readonly static Dictionary Services = new Dictionary(); + private readonly static Dictionary ProvidedServices = new(); + private readonly static Dictionary Services = new(); static Service() { foreach (var type in Assembly.GetExecutingAssembly().GetTypes().Where(type => type.GetInterface("IServerService") != null)) { - object[] attributes = type.GetCustomAttributes(typeof(ServiceAttribute), true); + var attributes = type.GetCustomAttributes(typeof(ServiceAttribute), true); if (attributes.Length == 0) return; ProvidedServices.Add(type, (ServiceAttribute)attributes[0]);