{
_this_class = (Class<L2NpcInstance>) Class.forName("l2p.gameserver.model.instances." + type + "Instance");
}
catch(ClassNotFoundException e)
{
Script sc = ScriptManager.getInstance().getClasses().get("npc.model." + type + "Instance");
if(sc != null)
{
_this_class = (Class<L2NpcInstance>) sc.getRawClass();
}
}
if(_this_class == null)
{
System.out.println("Not found type: " + type);