mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Fixed aiots not having four times the durability of their base tools
Closes #104
This commit is contained in:
parent
eeb7592d22
commit
dbf5a86560
1 changed files with 4 additions and 0 deletions
|
@ -44,11 +44,15 @@ public class ItemAllToolAA extends ItemToolAA implements IColorProvidingItem{
|
||||||
public ItemAllToolAA(ToolMaterial toolMat, String repairItem, String unlocalizedName, EnumRarity rarity, int color){
|
public ItemAllToolAA(ToolMaterial toolMat, String repairItem, String unlocalizedName, EnumRarity rarity, int color){
|
||||||
super(4.0F, -2F, toolMat, repairItem, unlocalizedName, rarity, new HashSet<Block>());
|
super(4.0F, -2F, toolMat, repairItem, unlocalizedName, rarity, new HashSet<Block>());
|
||||||
this.color = color;
|
this.color = color;
|
||||||
|
|
||||||
|
this.setMaxDamage(this.getMaxDamage()*4);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemAllToolAA(ToolMaterial toolMat, ItemStack repairItem, String unlocalizedName, EnumRarity rarity, int color){
|
public ItemAllToolAA(ToolMaterial toolMat, ItemStack repairItem, String unlocalizedName, EnumRarity rarity, int color){
|
||||||
super(4.0F, -2F, toolMat, repairItem, unlocalizedName, rarity, new HashSet<Block>());
|
super(4.0F, -2F, toolMat, repairItem, unlocalizedName, rarity, new HashSet<Block>());
|
||||||
this.color = color;
|
this.color = color;
|
||||||
|
|
||||||
|
this.setMaxDamage(this.getMaxDamage()*4);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue