Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
@@ -206,7 +206,7 @@ namespace Game.Entities
|
||||
public bool IsExpired(long t)
|
||||
{
|
||||
// Deleted character
|
||||
if (Global.WorldMgr.GetCharacterInfo(GetOwnerGUID()) == null)
|
||||
if (!Global.CharacterCacheStorage.HasCharacterCacheEntry(GetOwnerGUID()))
|
||||
return true;
|
||||
|
||||
if (m_type == CorpseType.Bones)
|
||||
|
||||
Reference in New Issue
Block a user