Prevent crash if NPC name is nil