Typo getVarients
This commit is contained in:
parent
2a9e973362
commit
8c257595f5
3 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue