Consider base template for defining Death Knight characters.

This commit is contained in:
MobiusDevelopment
2021-12-28 23:01:12 +00:00
parent 9951f34838
commit 3c092dcc0f
4 changed files with 4 additions and 4 deletions

View File

@@ -6765,7 +6765,7 @@ public class Player extends Playable
{
player._activeClass = activeClassId;
}
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, player.getBaseClass()))
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, player.getBaseTemplate().getClassId().getId()))
{
player._isDeathKnight = true;
}