for (int i = 0; i < npc.modelHashes.length; i++)
{
modelFile[i].setUnknown1(npc.modelHashes[i]);
}
P075_NPCModel npcModel = new P075_NPCModel();
npcModel.init(channel);
npcModel.setLocalID(agentIDs.localID);
npcModel.setModelFile(modelFile);
channel.writeAndFlush(npcModel);
// if the NPC has got a special name, send it now:
if (!"".equals(name) && !"NoName".equals(name))