Skip to content

Commit

Permalink
fix regression that disabled allied races (The-Legion-Preservation-Pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongdove authored Oct 11, 2024
1 parent 673f8f9 commit e933e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Handlers/CharacterHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void WorldSession::HandleCharEnum(PreparedQueryResult result, bool isDeleted)
}

charEnum.IsDemonHunterCreationAllowed = GetAccountExpansion() >= EXPANSION_LEGION || canAlwaysCreateDemonHunter;
charEnum.IsAlliedRacesCreationAllowed = GetAccountExpansion() >= EXPANSION_BATTLE_FOR_AZEROTH;
charEnum.IsAlliedRacesCreationAllowed = GetAccountExpansion() >= EXPANSION_LEGION;

for (auto const& requirement : sObjectMgr->GetRaceUnlockRequirements())
{
Expand Down

0 comments on commit e933e57

Please sign in to comment.