From 1ebd81dcd7f3b648871485c632d66b898c10b623 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 30 Jan 2023 10:16:53 -0500 Subject: [PATCH] Core/Mail: Update max mail id cap Port From (https://github.com/TrinityCore/TrinityCore/commit/b6cd49c34d4d02b41ced58b87103123a1532b56c) --- Source/Game/Globals/ObjectManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Globals/ObjectManager.cs b/Source/Game/Globals/ObjectManager.cs index 1c8862116..94527940f 100644 --- a/Source/Game/Globals/ObjectManager.cs +++ b/Source/Game/Globals/ObjectManager.cs @@ -10406,7 +10406,7 @@ namespace Game } public ulong GenerateMailID() { - if (_mailId >= 0xFFFFFFFE) + if (_mailId >= 0xFFFFFFFFFFFFFFFE) { Log.outError(LogFilter.Server, "Mail ids overflow!! Can't continue, shutting down server. "); Global.WorldMgr.StopNow();