Fixed third class mount book rewards.

This commit is contained in:
MobiusDevelopment
2020-12-26 14:21:31 +00:00
parent 479ed695c9
commit e4b4812ffd

View File

@@ -290,7 +290,7 @@ public class Q10673_SagaOfLegend extends Quest
return;
}
if (!CategoryData.getInstance().isInCategory(CategoryType.THIRD_CLASS_GROUP, player.getClassId().getId()))
if (!CategoryData.getInstance().isInCategory(CategoryType.FOURTH_CLASS_GROUP, player.getClassId().getId()))
{
return;
}
@@ -302,8 +302,9 @@ public class Q10673_SagaOfLegend extends Quest
}
// Death Knights.
if (player.getClassId().getId() > 195)
if (player.isDeathKnight())
{
player.getVariables().set("ITEMS_REWARDED", true);
giveItems(player, SPELLBOOK_DEATH_KNIGHT, 1);
return;
}