ConfigurationElement toTest = (ConfigurationElement) objectManager.getObject(children[i], extraDataOffset == -1 ? RegistryObjectManager.CONFIGURATION_ELEMENT : RegistryObjectManager.THIRDLEVEL_CONFIGURATION_ELEMENT);
ConfigurationElement toTest = (ConfigurationElement) objectManager.getObject(children[i], noExtraData() ? RegistryObjectManager.CONFIGURATION_ELEMENT : RegistryObjectManager.THIRDLEVEL_CONFIGURATION_ELEMENT);
	public ConfigurationElement[] getChildren(String childrenName) {		if (getRawChildren().length == 0)			return ConfigurationElement.EMPTY_ARRAY;		ConfigurationElement[] result = new ConfigurationElement[1]; //Most of the time there is only one match		int idx = 0;		RegistryObjectManager objectManager = registry.getObjectManager();		for (int i = 0; i < children.length; i++) {			ConfigurationElement toTest = (ConfigurationElement) objectManager.getObject(children[i], extraDataOffset == -1 ? RegistryObjectManager.CONFIGURATION_ELEMENT : RegistryObjectManager.THIRDLEVEL_CONFIGURATION_ELEMENT);			if (toTest.name.equals(childrenName)) {				if (idx != 0) {					ConfigurationElement[] copy = new ConfigurationElement[result.length + 1];					System.arraycopy(result, 0, copy, 0, result.length);					result = copy;				}				result[idx++] = toTest;			}		}		if (idx == 0)			result = ConfigurationElement.EMPTY_ARRAY;		return result;	}