mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-01-13 09:07:25 +00:00
fix: build and ci
This commit is contained in:
@@ -271,7 +271,7 @@ private:
|
||||
auto spellsForPlayersFamily = spellsMap.find(playerSpellFamily);
|
||||
if (spellsForPlayersFamily != spellsMap.end())
|
||||
{
|
||||
vector<AddSpell> additionalSpellsToTeach = spellsForPlayersFamily->second;
|
||||
std::vector<AddSpell> additionalSpellsToTeach = spellsForPlayersFamily->second;
|
||||
for (auto const& spell : additionalSpellsToTeach)
|
||||
{
|
||||
if (!(player->HasSpell(spell.spellId)) && (spell.faction == TeamId::TEAM_NEUTRAL || spell.faction == player->GetTeamId()))
|
||||
|
||||
Reference in New Issue
Block a user