if (inter.getParentID() != -1) {
return inter.getParentID();
}
final int mainID = getID() >>> 16;
final HashTable ncI = new HashTable(methods.client.getRSInterfaceNC());
for (RSInterfaceNode node = (RSInterfaceNode) ncI.getFirst(); node != null;
node = (RSInterfaceNode) ncI.getNext()) {
if (mainID == node.getMainID()) {
return (int) node.getID();
}
}