Add prestige.no-prestige
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user