mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-01-13 00:58:37 +00:00
fix: build and ci
This commit is contained in:
4
.github/workflows/core-build.yml
vendored
4
.github/workflows/core-build.yml
vendored
@@ -8,8 +8,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
compiler: [clang6, clang9, clang10]
|
||||
runs-on: ubuntu-20.04
|
||||
compiler: [clang]
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.compiler }}
|
||||
env:
|
||||
COMPILER: ${{ matrix.compiler }}
|
||||
|
||||
@@ -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