Fix build

This commit is contained in:
drcrazy 2017-09-08 02:11:49 +03:00
parent ab1802ba5e
commit aa2df32222

View file

@ -34,6 +34,9 @@ import techreborn.events.TRRecipeHandler;
*/ */
public class ItemTRArmour extends ItemArmor { public class ItemTRArmour extends ItemArmor {
private ArmorMaterial material = ArmorMaterial.LEATHER;
private EntityEquipmentSlot slot = EntityEquipmentSlot.HEAD;
public ItemTRArmour(ArmorMaterial material, EntityEquipmentSlot slot) { public ItemTRArmour(ArmorMaterial material, EntityEquipmentSlot slot) {
super(material, material.getDamageReductionAmount(slot), slot); super(material, material.getDamageReductionAmount(slot), slot);
if (slot == EntityEquipmentSlot.HEAD) if (slot == EntityEquipmentSlot.HEAD)