chore(Core/Object): Rename GetGOData() to GetGameObjectData() (#14875)

This commit is contained in:
Skjalf
2023-02-05 08:35:52 -03:00
committed by GitHub
parent 61dec3f143
commit dba8c49bce
14 changed files with 35 additions and 35 deletions

View File

@@ -1227,7 +1227,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
return false;
}
if (e.event.distance.guid != 0 && !sObjectMgr->GetGOData(e.event.distance.guid))
if (e.event.distance.guid != 0 && !sObjectMgr->GetGameObjectData(e.event.distance.guid))
{
LOG_ERROR("sql.sql", "SmartAIMgr: Event SMART_EVENT_DISTANCE_GAMEOBJECT using invalid gameobject guid {}, skipped.", e.event.distance.guid);
return false;