Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
@@ -99,7 +99,7 @@ namespace Game.Mails
|
||||
|
||||
uint rc_account = 0;
|
||||
if (receiver == null)
|
||||
rc_account = ObjectManager.GetPlayerAccountIdByGUID(receiverGuid);
|
||||
rc_account = Global.CharacterCacheStorage.GetCharacterAccountIdByGuid(receiverGuid);
|
||||
|
||||
if (receiver == null && rc_account == 0) // sender not exist
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user