Batteries can't get mending anymore. Closes #2263

This commit is contained in:
drcrazy 2020-11-16 20:09:27 +03:00
parent a836f45600
commit d84a0133a4

View file

@ -56,7 +56,7 @@ public class BatteryItem extends Item implements EnergyHolder, ItemDurabilityExt
private final EnergyTier tier;
public BatteryItem(int maxEnergy, EnergyTier tier) {
super(new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1).maxDamageIfAbsent(1));
super(new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1));
this.maxEnergy = maxEnergy;
this.tier = tier;
}