Fix for rpginv formatting?

This commit is contained in:
BuildTools 2021-05-01 14:10:27 -05:00
parent dc03aaffaf
commit 5e78b9e8dc

View File

@ -57,7 +57,7 @@ public class RepairPowerPercent extends DoubleStat implements ConsumableItemInte
if (durItem.getDurability() < durItem.getMaxDurability()) {
target.getItem().setItemMeta(durItem.addDurability((int) (durItem.getMaxDurability()*called.getRepairedPercent())).toItem().getItemMeta());
Message.REPAIRED_ITEM
.format(ChatColor.YELLOW, "#item#", MMOUtils.getDisplayName(target.getItem()), "#amount#", "" + called.getRepairedPercent(),"%")
.format(ChatColor.YELLOW, "#item#", MMOUtils.getDisplayName(target.getItem()), "#amount#", "" + called.getRepairedPercent())
.send(player);
CustomSoundListener.playConsumableSound(consumable.getItem(), player);
}