Fix repairing in builder being ignored
This commit is contained in:
parent
eec0d5452d
commit
ebe8899813
@ -350,7 +350,7 @@ public class ArmoredElytraBuilder
|
|||||||
{
|
{
|
||||||
if (currentArmorTier == ArmorTier.NONE)
|
if (currentArmorTier == ArmorTier.NONE)
|
||||||
throw new IllegalArgumentException("Non-armored elytras cannot be repaired!");
|
throw new IllegalArgumentException("Non-armored elytras cannot be repaired!");
|
||||||
durabilityManager.getRepairedDurability(newArmoredElytra, count, currentArmorTier);
|
durability = durabilityManager.getRepairedDurability(newArmoredElytra, count, currentArmorTier);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user