refactor(Core/Cache): move the GlobalPlayerCache to its own class (#9166)
This commit is contained in:
@@ -108,7 +108,9 @@ public:
|
||||
std::string name;
|
||||
// save queries if ticket is not assigned
|
||||
if (_assignedTo)
|
||||
sObjectMgr->GetPlayerNameByGUID(_assignedTo.GetCounter(), name);
|
||||
{
|
||||
sCharacterCache->GetCharacterNameByGuid(_assignedTo, name);
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user