This commit is contained in:
okx-code
2020-06-20 22:32:41 +01:00
parent 8e755bbced
commit 1e7805e213
14 changed files with 91 additions and 77 deletions
@@ -54,6 +54,12 @@ public class RankupExpansion extends PlaceholderExpansion {
amount = amount - plugin.getEconomy().getBalance(player);
}
return plugin.formatMoney(Math.max(0, amount));
} else if (params.startsWith("status_")) {
if (rankups.isLast(player) || rank.isIn(player)) {
return getPlaceholder("status-complete");
} else {
return getPlaceholder("status-incomplete");
}
}
switch (params) {