mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Port to forge-10.12.2.1121 (was 10.12.1.1112)
* Updated build.properties * Now using the new OreDictionary.getoreIDs() call to obtain oreDict names * No longer modifying OreDictionary collections in ChemicalInjectionRecipeHandler * No longer registering list redstone under oreRedstone (causes an NPE)
This commit is contained in:
1 parent
de6d418697
commit
9b3ee926e2
3 files changed
+8
-4
No files matched your search
@@ -31,7 +31,7 @@ public final class OreDictCache
|
||||
{
|
||||
return cachedKeys.get(info);
|
||||
}
|
||||
|
||||
/*
|
||||
List<Integer> idsFound = new ArrayList<Integer>();
|
||||
HashMap<Integer, ArrayList<ItemStack>> oreStacks = (HashMap<Integer, ArrayList<ItemStack>>)MekanismUtils.getPrivateValue(null, OreDictionary.class, new String[] {"oreStacks"});
|
||||
oreStacks = (HashMap<Integer, ArrayList<ItemStack>>)oreStacks.clone();
|
||||
@@ -47,6 +47,8 @@ public final class OreDictCache
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
int[] idsFound = OreDictionary.getOreIDs(check);
|
||||
|
||||
List<String> ret = new ArrayList<String>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user