{"comment":{"url":"https://api.github.com/repos/cmangos/mangos-wotlk/comments/18895793","html_url":"https://github.com/cmangos/mangos-wotlk/commit/8835ddf39694260c2234c0ca4b3c54e705aa44ff#commitcomment-18895793","id":18895793,"user":{"login":"boxa","id":156509,"avatar_url":"https://avatars.githubusercontent.com/u/156509?v=3","gravatar_id":"","url":"https://api.github.com/users/boxa","html_url":"https://github.com/boxa","followers_url":"https://api.github.com/users/boxa/followers","following_url":"https://api.github.com/users/boxa/following{/other_user}","gists_url":"https://api.github.com/users/boxa/gists{/gist_id}","starred_url":"https://api.github.com/users/boxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxa/subscriptions","organizations_url":"https://api.github.com/users/boxa/orgs","repos_url":"https://api.github.com/users/boxa/repos","events_url":"https://api.github.com/users/boxa/events{/privacy}","received_events_url":"https://api.github.com/users/boxa/received_events","type":"User","site_admin":false},"position":5,"line":62,"path":"src/game/AI/CreatureAISelector.cpp","commit_id":"8835ddf39694260c2234c0ca4b3c54e705aa44ff","created_at":"2016-09-05T06:16:59Z","updated_at":"2016-09-05T06:16:59Z","body":"@Phatcat, \r\n\"when a mob which has no EventAI set is automatically given GuardianAI \" - yes .\r\n\r\nas temp solutions i change this line https://github.com/cmangos/mangos-wotlk/blob/master/src/game/AI/CreatureEventAI.cpp#L151\r\nto\r\n    else\r\n    {\r\n        std::string aiName = m_creature->GetAIName();\r\n        if (aiName == \"EventAI\") // don't show error on GuardiansAI\r\n        {\r\n            sLog.outErrorEventAI(\"EventMap for Creature Id: %u, %s is empty but creature is using CreatureEventAI: '%s'.\",\r\n                m_creature->GetEntry(), m_creature->GetGuidStr().c_str(), aiName.c_str());\r\n        }\r\n    }"}}
{"actor":{"display_login":"boxa"}}