diff --git a/Source/Game/Entities/Player/Player.Fields.cs b/Source/Game/Entities/Player/Player.Fields.cs index 478fb3b33..565f21e64 100644 --- a/Source/Game/Entities/Player/Player.Fields.cs +++ b/Source/Game/Entities/Player/Player.Fields.cs @@ -310,7 +310,7 @@ namespace Game.Entities public class PlayerLevelInfo { - public ushort[] stats = new ushort[(int)Stats.Max]; + public int[] stats = new int[(int)Stats.Max]; } public class PlayerCurrency diff --git a/Source/Game/Server/WorldManager.cs b/Source/Game/Server/WorldManager.cs index 70c634955..30a548922 100644 --- a/Source/Game/Server/WorldManager.cs +++ b/Source/Game/Server/WorldManager.cs @@ -1086,6 +1086,9 @@ namespace Game Log.outInfo(LogFilter.ServerLoading, "Using {0} DBC Locale", m_defaultDbcLocale); + // load update time related configs + _worldUpdateTime.LoadFromConfig(); + Global.WorldMgr.SetPlayerAmountLimit((uint)ConfigMgr.GetDefaultValue("PlayerLimit", 100)); Global.WorldMgr.SetMotd(ConfigMgr.GetDefaultValue("Motd", "Welcome to a Cypher Core Server."));