Living armor should not be repairable with Iron Ingots
This commit is contained in:
parent
5c3b1c882b
commit
0538f206bb
|
@ -108,7 +108,7 @@ public class ItemLivingArmour extends ItemArmor implements ISpecialArmor, IMeshP
|
||||||
@Override
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack toRepair, ItemStack repair)
|
public boolean getIsRepairable(ItemStack toRepair, ItemStack repair)
|
||||||
{
|
{
|
||||||
return ItemStack.areItemsEqual(repair, ItemComponent.getStack(ItemComponent.REAGENT_BINDING)) || super.getIsRepairable(toRepair, repair);
|
return ItemStack.areItemsEqual(repair, ItemComponent.getStack(ItemComponent.REAGENT_BINDING));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue