Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)

This commit is contained in:
Spp- committed 2011-07-27 12:14:27 +02:00
1 parent fa50c0a464
commit b2a84d9f1e
47 files changed
+166 -168

No files matched your search

@@ -447,7 +447,7 @@ bool ChatHandler::HandleCharacterEraseCommand(const char* args){
uint64 character_guid;
uint32 account_id;
Player* player = sObjectMgr->GetPlayer(character_name.c_str());
Player* player = sObjectAccessor->FindPlayerByName(character_name.c_str());
if (player)
{
character_guid = player->GetGUID();