fix .npc factionid command after creature_template change