getOrNull

fun getOrNull(idx: Int): NpcInfo?

Gets the npc info at the provided index, or null if it doesn't exist.

Return

npc info object at that index

Parameters

idx

the index of the npc info