Fix EnumHelper for new ArmorTexture argument.
This commit is contained in:
parent
bf66e45699
commit
ecd4a259ec
1 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ public class EnumHelper
|
|||
private static Class[][] commonTypes =
|
||||
{
|
||||
{EnumAction.class},
|
||||
{ArmorMaterial.class, int.class, int[].class, int.class},
|
||||
{ArmorMaterial.class, String.class, int.class, int[].class, int.class},
|
||||
{EnumArt.class, String.class, int.class, int.class, int.class, int.class},
|
||||
{EnumCreatureAttribute.class},
|
||||
{EnumCreatureType.class, Class.class, int.class, Material.class, boolean.class, boolean.class},
|
||||
|
@ -53,9 +53,9 @@ public class EnumHelper
|
|||
{
|
||||
return addEnum(EnumAction.class, name);
|
||||
}
|
||||
public static ArmorMaterial addArmorMaterial(String name, int durability, int[] reductionAmounts, int enchantability)
|
||||
public static ArmorMaterial addArmorMaterial(String name, String textureName, int durability, int[] reductionAmounts, int enchantability)
|
||||
{
|
||||
return addEnum(ArmorMaterial.class, name, durability, reductionAmounts, enchantability);
|
||||
return addEnum(ArmorMaterial.class, name, textureName, durability, reductionAmounts, enchantability);
|
||||
}
|
||||
public static EnumArt addArt(String name, String tile, int sizeX, int sizeY, int offsetX, int offsetY)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue