if(classId >= ClassId.values().length){
_log.warning("NPCTable: Error defining learning data for NPC "+npcId+": specified classId "+classId+" is higher then max one "+(ClassId.values().length-1)+" specified into ClassID Enum --> check your Database to be complient with it"+" "+ classId);
continue;
}
npc.addTeachInfo(ClassId.values()[classId]);
}
learndata.close();
statement.close();
}