public static void loadPostCache() { for (int i = 0; i < researchList.length; i++) { ChromaResearch r = researchList[i]; if (!r.isDummiedOut()) { Collection<ItemStack> c = r.getItemStacks(); if (c != null) { for (ItemStack is : c) { if (is != null && is.getItem() != null) itemMap.put(is, r); } } Collection<CastingRecipe> crc = r.getCraftingRecipes(); for (CastingRecipe cr : crc) { cr.setFragment(r); } } } }