Add prestige.requirements-not-met

This commit is contained in:
okx-code
2018-11-08 20:20:17 +00:00
parent a4b47f0ab6
commit d12cdf3b9c
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ public class Rankup extends JavaPlugin {
.send(player);
return false;
} else if (!prestige.hasRequirements(player)) { // check if they can afford it
replaceMoneyRequirements(getMessage(prestige, Message.REQUIREMENTS_NOT_MET)
replaceMoneyRequirements(getMessage(prestige, Message.PRESTIGE_REQUIREMENTS_NOT_MET)
.failIf(!message)
.replaceRanks(player, prestige, prestiges.next(prestige)), player, prestige)
.replaceFromTo(prestige)