Admin set class for death knight needed adjustments.
This commit is contained in:
@@ -425,10 +425,15 @@ public class AdminEditChar implements IAdminCommandHandler
|
||||
}
|
||||
|
||||
// Death Knight sex check.
|
||||
if (player.isDeathKnight())
|
||||
if ((classidval >= 212) && (classidval <= 216))
|
||||
{
|
||||
player.setDeathKnight(true);
|
||||
player.getAppearance().setMale();
|
||||
}
|
||||
else
|
||||
{
|
||||
player.setDeathKnight(false);
|
||||
}
|
||||
|
||||
final String newclass = ClassListData.getInstance().getClass(player.getClassId()).getClassName();
|
||||
if (player.isInCategory(CategoryType.SIXTH_CLASS_GROUP))
|
||||
|
Reference in New Issue
Block a user