add placeholders for confirmation message

This commit is contained in:
okx-code
2018-08-29 21:24:28 +01:00
parent a748321d89
commit c5bc6f8fac
15 changed files with 73 additions and 80 deletions
@@ -54,8 +54,8 @@ public class RankupCommand implements CommandExecutor {
switch (confirmationType) {
case "text":
confirming.put(player, System.currentTimeMillis());
plugin.getMessage(rank, Message.CONFIRMATION)
.replaceAll(player, rank, rankups.nextRank(rank))
plugin.replaceMoneyRequirements(plugin.getMessage(rank, Message.CONFIRMATION)
.replaceAll(player, rank, rankups.nextRank(rank)), player, rank)
.send(player);
break;
case "gui":