Fixed aiots not having four times the durability of their base tools

Closes #104
This commit is contained in:
Ellpeck 2016-06-03 21:07:58 +02:00
parent eeb7592d22
commit dbf5a86560

View file

@ -44,11 +44,15 @@ public class ItemAllToolAA extends ItemToolAA implements IColorProvidingItem{
public ItemAllToolAA(ToolMaterial toolMat, String repairItem, String unlocalizedName, EnumRarity rarity, int color){
super(4.0F, -2F, toolMat, repairItem, unlocalizedName, rarity, new HashSet<Block>());
this.color = color;
this.setMaxDamage(this.getMaxDamage()*4);
}
public ItemAllToolAA(ToolMaterial toolMat, ItemStack repairItem, String unlocalizedName, EnumRarity rarity, int color){
super(4.0F, -2F, toolMat, repairItem, unlocalizedName, rarity, new HashSet<Block>());
this.color = color;
this.setMaxDamage(this.getMaxDamage()*4);
}
@Override