{"comment":{"url":"https://api.github.com/repos/cmangos/classic-db/comments/28724614","html_url":"https://github.com/cmangos/classic-db/commit/8b630870b08c019ede422fbe781afa14e662838f#commitcomment-28724614","id":28724614,"user":{"login":"Grz3s","id":2374069,"avatar_url":"https://avatars2.githubusercontent.com/u/2374069?v=4","gravatar_id":"","url":"https://api.github.com/users/Grz3s","html_url":"https://github.com/Grz3s","followers_url":"https://api.github.com/users/Grz3s/followers","following_url":"https://api.github.com/users/Grz3s/following{/other_user}","gists_url":"https://api.github.com/users/Grz3s/gists{/gist_id}","starred_url":"https://api.github.com/users/Grz3s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grz3s/subscriptions","organizations_url":"https://api.github.com/users/Grz3s/orgs","repos_url":"https://api.github.com/users/Grz3s/repos","events_url":"https://api.github.com/users/Grz3s/events{/privacy}","received_events_url":"https://api.github.com/users/Grz3s/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"8b630870b08c019ede422fbe781afa14e662838f","created_at":"2018-04-24T21:54:33Z","updated_at":"2018-04-24T21:54:33Z","author_association":"COLLABORATOR","body":"@cala \r\n        if (m_luiElementalRiftGUIDs[uiIndex].empty())  <--- [uiIndex] shouldnt this be added?\r\n            return;\r\n\r\nanyway... i tried this: (and no luck ... still same situation happens...)\r\n```code\r\n    void DoDespawnElementalRifts(uint8 uiIndex)\r\n    {\r\n        if (m_luiElementalRiftGUIDs[uiIndex].empty())\r\n            return;\r\n        // Despawn all GO rifts for a given element type, erase the GUIDs for the GOs\r\n        for (GuidList::const_iterator itr = m_luiElementalRiftGUIDs[uiIndex].begin(); itr != m_luiElementalRiftGUIDs[uiIndex].end(); ++itr)\r\n        {\r\n            if (GameObject* pRift = instance->GetGameObject(*itr))\r\n            {\r\n                m_luiElementalRiftGUIDs[uiIndex].remove(*itr);\r\n                pRift->SetLootState(GO_JUST_DEACTIVATED);\r\n            }\r\n        }\r\n    }\r\n```\r\nmaybe @killerwife can help"}}
{"actor":{"display_login":"Grz3s"}}