Typo getVarients

This commit is contained in:
thatsIch 2014-09-21 01:48:07 +02:00
parent 2a9e973362
commit 8c257595f5
3 changed files with 3 additions and 3 deletions

View file

@ -267,7 +267,7 @@ public class Registration
else
{
Field f = partClass.getField( "part" + type.name() );
Enum varients[] = type.getVarients();
Enum varients[] = type.getVariants();
if ( varients == null )
{
ItemStackSrc is = ((ItemMultiPart) partItem.item()).createPart( type, null );

View file

@ -157,7 +157,7 @@ public class ItemMultiPart extends AEBaseItem implements IPartItem, IItemGroup
if ( pt == null )
return "Unnamed";
Enum[] varients = pt.getVarients();
Enum[] varients = pt.getVariants();
if ( varients != null )
return super.getItemStackDisplayName( is ) + " - " + varients[dmgToPart.get( is.getItemDamage() ).varient].toString();

View file

@ -126,7 +126,7 @@ public enum PartType
baseDamage = baseMetaValue;
}
public Enum[] getVarients()
public Enum[] getVariants()
{
if ( this == CableSmart || this == CableCovered || this == CableGlass || this == CableDense )
return AEColor.values();