Fixed issue with ore cache, should now properly contain all the options instead of just the current item.

This commit is contained in:
AlgorithmX2
2014-05-21 21:08:38 -05:00
parent 569ed2f99e
commit a8a4476e8e
+6 -1
View File
@@ -79,12 +79,17 @@ public class OreHelper
if ( OreDictionary.itemMatches( oreItem, ItemStack, false ) )
{
add = true;
set.add( oreItem.copy() );
break;
}
}
if ( add )
{
for (ItemStack oreItem : OreDictionary.getOres( ore ))
set.add( oreItem.copy() );
ores.add( OreDictionary.getOreID( ore ) );
}
}
if ( !set.isEmpty() )