Typo Equivilients
This commit is contained in:
@@ -207,16 +207,16 @@ public final class ItemList<StackType extends IAEStack> implements IItemList<Sta
|
|||||||
if ( ais.isOre() )
|
if ( ais.isOre() )
|
||||||
{
|
{
|
||||||
OreReference or = ais.def.isOre;
|
OreReference or = ais.def.isOre;
|
||||||
if ( or.getAEEquivilients().size() == 1 )
|
if ( or.getAEEquivalents().size() == 1 )
|
||||||
{
|
{
|
||||||
IAEItemStack is = or.getAEEquivilients().get( 0 );
|
IAEItemStack is = or.getAEEquivalents().get( 0 );
|
||||||
return findFuzzyDamage( (AEItemStack) is, fuzzy, is.getItemDamage() == OreDictionary.WILDCARD_VALUE );
|
return findFuzzyDamage( (AEItemStack) is, fuzzy, is.getItemDamage() == OreDictionary.WILDCARD_VALUE );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Collection<StackType> output = new LinkedList();
|
Collection<StackType> output = new LinkedList();
|
||||||
|
|
||||||
for (IAEItemStack is : or.getAEEquivilients())
|
for (IAEItemStack is : or.getAEEquivalents())
|
||||||
output.addAll( findFuzzyDamage( (AEItemStack) is, fuzzy, is.getItemDamage() == OreDictionary.WILDCARD_VALUE ) );
|
output.addAll( findFuzzyDamage( (AEItemStack) is, fuzzy, is.getItemDamage() == OreDictionary.WILDCARD_VALUE ) );
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ public class OreHelper
|
|||||||
|
|
||||||
OreReference ref = new OreReference();
|
OreReference ref = new OreReference();
|
||||||
Collection<Integer> ores = ref.getOres();
|
Collection<Integer> ores = ref.getOres();
|
||||||
Collection<ItemStack> set = ref.getEquivilients();
|
Collection<ItemStack> set = ref.getEquivalents();
|
||||||
|
|
||||||
for (String ore : OreDictionary.getOreNames())
|
for (String ore : OreDictionary.getOreNames())
|
||||||
{
|
{
|
||||||
@@ -143,7 +143,7 @@ public class OreHelper
|
|||||||
if ( a == null )
|
if ( a == null )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (ItemStack oreItem : a.getEquivilients())
|
for (ItemStack oreItem : a.getEquivalents())
|
||||||
{
|
{
|
||||||
if ( OreDictionary.itemMatches( oreItem, o, false ) )
|
if ( OreDictionary.itemMatches( oreItem, o, false ) )
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -16,12 +16,12 @@ public class OreReference
|
|||||||
private ArrayList aeotherOptions = null;
|
private ArrayList aeotherOptions = null;
|
||||||
private HashSet<Integer> ores = new HashSet<Integer>();
|
private HashSet<Integer> ores = new HashSet<Integer>();
|
||||||
|
|
||||||
public Collection<ItemStack> getEquivilients()
|
public Collection<ItemStack> getEquivalents()
|
||||||
{
|
{
|
||||||
return otherOptions;
|
return otherOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<IAEItemStack> getAEEquivilients()
|
public List<IAEItemStack> getAEEquivalents()
|
||||||
{
|
{
|
||||||
if ( aeotherOptions == null )
|
if ( aeotherOptions == null )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user