Show correct minimum level in adept salvage message

This commit is contained in:
Shane Freeder 2020-03-07 23:19:44 +00:00
parent 8f8dfcf556
commit 1bd4454a6b
No known key found for this signature in database
GPG Key ID: A3F61EA5A085289C

View File

@ -87,7 +87,7 @@ public class SalvageManager extends SkillManager {
// Level check
if (getSkillLevel() < minimumSalvageableLevel) {
NotificationManager.sendPlayerInformation(player, NotificationType.REQUIREMENTS_NOT_MET, "Salvage.Skills.Adept.Level", String.valueOf(RankUtils.getUnlockLevel(SubSkillType.SALVAGE_ARCANE_SALVAGE)), StringUtils.getPrettyItemString(item.getType()));
NotificationManager.sendPlayerInformation(player, NotificationType.REQUIREMENTS_NOT_MET, "Salvage.Skills.Adept.Level", String.valueOf(salvageable.getMinimumLevel()), StringUtils.getPrettyItemString(item.getType()));
return;
}