Fix repairing in builder being ignored

This commit is contained in:
Pim van der Loos 2021-12-23 13:00:05 +01:00
parent eec0d5452d
commit ebe8899813
No known key found for this signature in database
GPG Key ID: C16F020ADAE6D5A8

View File

@ -350,7 +350,7 @@ public class ArmoredElytraBuilder
{
if (currentArmorTier == ArmorTier.NONE)
throw new IllegalArgumentException("Non-armored elytras cannot be repaired!");
durabilityManager.getRepairedDurability(newArmoredElytra, count, currentArmorTier);
durability = durabilityManager.getRepairedDurability(newArmoredElytra, count, currentArmorTier);
return this;
}