Throw errors for child skill leaderboard requests

This commit is contained in:
nossr50
2020-11-10 11:20:32 -08:00
parent c9b950d0c8
commit 592851e80b
6 changed files with 27 additions and 4 deletions

View File

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