Typo Equivilients

This commit is contained in:
thatsIch 2014-09-21 02:37:37 +02:00
parent 56c678890b
commit 301892c092
3 changed files with 7 additions and 7 deletions

View file

@ -207,16 +207,16 @@ public final class ItemList<StackType extends IAEStack> implements IItemList<Sta
if ( ais.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 );
}
else
{
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 ) );
return output;

View file

@ -67,7 +67,7 @@ public class OreHelper
OreReference ref = new OreReference();
Collection<Integer> ores = ref.getOres();
Collection<ItemStack> set = ref.getEquivilients();
Collection<ItemStack> set = ref.getEquivalents();
for (String ore : OreDictionary.getOreNames())
{
@ -143,7 +143,7 @@ public class OreHelper
if ( a == null )
return false;
for (ItemStack oreItem : a.getEquivilients())
for (ItemStack oreItem : a.getEquivalents())
{
if ( OreDictionary.itemMatches( oreItem, o, false ) )
return true;

View file

@ -16,12 +16,12 @@ public class OreReference
private ArrayList aeotherOptions = null;
private HashSet<Integer> ores = new HashSet<Integer>();
public Collection<ItemStack> getEquivilients()
public Collection<ItemStack> getEquivalents()
{
return otherOptions;
}
public List<IAEItemStack> getAEEquivilients()
public List<IAEItemStack> getAEEquivalents()
{
if ( aeotherOptions == null )
{