fix(core): NPE in Cycles per second (#331)

- [X] Fixes an edge case where the cycle index goes negative and crashes
- [X] Fixes average CPS calculation
- [X] Fixes issue with logout delay
- [X] Bumps release version
This commit is contained in:
Kamron Batman 2020-11-30 23:12:16 -08:00 • committed by GitHub
parent b71c754738
commit 75c1b32513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 216 additions and 188 deletions

View file

@ -1952,7 +1952,7 @@ namespace Server.Engines.MLQuests.Definitions
public class Ryuichi : BaseVendor
{
private readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
private readonly List<SBInfo> m_SBInfos = new();
[Constructible]
public Ryuichi()
@ -2200,7 +2200,7 @@ namespace Server.Engines.MLQuests.Definitions
public class Hamato : BaseVendor
{
private readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
private readonly List<SBInfo> m_SBInfos = new();
[Constructible]
public Hamato()