Add prestige.no-prestige

This commit is contained in:
okx-code
2018-11-08 20:24:14 +00:00
parent d12cdf3b9c
commit fe0d0aef8f
5 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ public class Rankup extends JavaPlugin {
.send(player);
return false;
} else if (prestige.isLast()) { // check if they are at the highest rank
getMessage(prestige, Message.NO_RANKUP)
getMessage(prestige, Message.PRESTIGE_NO_PRESTIGE)
.failIf(!message)
.replaceRanks(player, prestige)
.replaceFromTo(prestige)
@@ -16,6 +16,7 @@ public enum Message {
RANKS_CURRENT("rankup.list.current"),
RANKS_INCOMPLETE("rankup.list.incomplete"),
PRESTIGE_REQUIREMENTS_NOT_MET("prestige.requirements-not-met"),
PRESTIGE_NO_PRESTIGE("prestige.no-prestige"),
PRESTIGES_HEADER("prestige.list.header"),
PRESTIGES_FOOTER("prestige.list.footer"),
PRESTIGES_COMPLETE("prestige.list.complete"),