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

This commit is contained in:
Spp-
2011-07-27 12:14:27 +02:00
parent fa50c0a464
commit b2a84d9f1e
47 changed files with 166 additions and 168 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ ItemTemplate const *Item::GetTemplate() const
Player* Item::GetOwner()const
{
return sObjectMgr->GetPlayer(GetOwnerGUID());
return ObjectAccessor::FindPlayer(GetOwnerGUID());
}
uint32 Item::GetSkill()