Enhancement: better generics

This commit is contained in:
thatsIch
2014-11-27 18:18:15 +01:00
parent 1aeac3b989
commit 17ce3eadc4
2 changed files with 16 additions and 17 deletions
@@ -144,7 +144,7 @@ public enum PartType
baseDamage = baseMetaValue;
}
public Enum[] getVariants()
public Enum<AEColor>[] getVariants()
{
if ( this == CableSmart || this == CableCovered || this == CableGlass || this == CableDense )
return AEColor.values();