Core/AchievementMgr: fix integer underflow neglecting already completed realm firsts

Port From (https://github.com/TrinityCore/TrinityCore/commit/786bb561ca8b92033b962321d998fa2266f6e529)
This commit is contained in:
hondacrx
2020-05-06 13:43:42 -04:00
parent 360b7a81e7
commit ba6951c11d
@@ -1058,6 +1058,9 @@ namespace Game.Achievements
if (time == DateTime.MinValue)
return false;
if (time == DateTime.MaxValue)
return true;
// Allow completing the realm first kill for entire minute after first person did it
// it may allow more than one group to achieve it (highly unlikely)
// but apparently this is how blizz handles it as well