Fix log typo with spell_group at SpellMgr.cpp
This commit is contained in:
@@ -1602,7 +1602,7 @@ void SpellMgr::LoadSpellGroups()
|
|||||||
uint32 group_id = fields[0].GetUInt32();
|
uint32 group_id = fields[0].GetUInt32();
|
||||||
if (group_id <= SPELL_GROUP_DB_RANGE_MIN && group_id >= SPELL_GROUP_CORE_RANGE_MAX)
|
if (group_id <= SPELL_GROUP_DB_RANGE_MIN && group_id >= SPELL_GROUP_CORE_RANGE_MAX)
|
||||||
{
|
{
|
||||||
sLog->outErrorDb("SpellGroup id %u listed in `spell_groups` is in core range, but is not defined in core!", group_id);
|
sLog->outErrorDb("SpellGroup id %u listed in `spell_group` is in core range, but is not defined in core!", group_id);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
int32 spell_id = fields[1].GetInt32();
|
int32 spell_id = fields[1].GetInt32();
|
||||||
@@ -1618,7 +1618,7 @@ void SpellMgr::LoadSpellGroups()
|
|||||||
{
|
{
|
||||||
if (groups.find(abs(itr->second)) == groups.end())
|
if (groups.find(abs(itr->second)) == groups.end())
|
||||||
{
|
{
|
||||||
sLog->outErrorDb("SpellGroup id %u listed in `spell_groups` does not exist", abs(itr->second));
|
sLog->outErrorDb("SpellGroup id %u listed in `spell_group` does not exist", abs(itr->second));
|
||||||
mSpellGroupSpell.erase(itr++);
|
mSpellGroupSpell.erase(itr++);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user