* Safely gets the array of children.
*
* @return The child interfaces of the client.
*/
org.rsbot.client.RSInterface[] getChildrenInternal() {
final Client c = methods.client;
if (c == null) {
return null;
}
final org.rsbot.client.RSInterface[][] inters = c.getRSInterfaceCache();
if (inters != null && index < inters.length) {
return inters[index];
}
return null;
}