public void showEnchantSkillList(L2Player player, boolean isSafeEnchant) {
if (!enchantChecks(player)) {
return;
}
GArray<L2Skill> skills = SkillTreeTable.getInstance().getSkillsToEnchant(player);
ExEnchantSkillList esl = new ExEnchantSkillList(isSafeEnchant ? EnchantSkillType.SAFE : EnchantSkillType.NORMAL);
int counts = 0;
for (L2Skill s : skills) {
counts++;
esl.addSkill(s.getId(), s.getDisplayLevel());
}
if (counts == 0) {
player.sendPacket(Msg.THERE_IS_NO_SKILL_THAT_ENABLES_ENCHANT);
} else {
player.sendPacket(esl);