}
Player player = actor.getPlayer();
boolean needSendInfo = false;
for (int i : item.getEnchantOptions())
{
OptionDataTemplate template = OptionDataHolder.getInstance().getTemplate(i);
if (template == null)
{
continue;
}
player.removeStatsOwner(template);
for (Skill skill : template.getSkills())
{
player.removeSkill(skill, false);
needSendInfo = true;
}
for (TriggerInfo triggerInfo : template.getTriggerList())
{
player.removeTrigger(triggerInfo);
}
}
if (needSendInfo)