Compare commits

...

1 Commits

Author SHA1 Message Date
郑佩茹
adfbfc981c Only apply Death Knight starting progression to Death Knights 2022-10-08 10:31:00 -06:00

View File

@@ -7,7 +7,7 @@ public:
void OnLogin(Player* player) override
{
if (sIndividualProgression->deathKnightStartingProgression && !sIndividualProgression->hasPassedProgression(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression)))
if (player->getClass() == CLASS_DEATH_KNIGHT && sIndividualProgression->deathKnightStartingProgression && !sIndividualProgression->hasPassedProgression(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression)))
{
sIndividualProgression->UpdateProgressionState(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression));
}