Core/Mail: Update max mail id cap
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6cd49c34d4d02b41ced58b87103123a1532b56c)
This commit is contained in:
@@ -10406,7 +10406,7 @@ namespace Game
|
|||||||
}
|
}
|
||||||
public ulong GenerateMailID()
|
public ulong GenerateMailID()
|
||||||
{
|
{
|
||||||
if (_mailId >= 0xFFFFFFFE)
|
if (_mailId >= 0xFFFFFFFFFFFFFFFE)
|
||||||
{
|
{
|
||||||
Log.outError(LogFilter.Server, "Mail ids overflow!! Can't continue, shutting down server. ");
|
Log.outError(LogFilter.Server, "Mail ids overflow!! Can't continue, shutting down server. ");
|
||||||
Global.WorldMgr.StopNow();
|
Global.WorldMgr.StopNow();
|
||||||
|
|||||||
Reference in New Issue
Block a user