Allow CUST-1 to set players to ETERNAL via support commands

This commit is contained in:
AlexTheCoder 2016-12-16 23:01:22 -05:00 committed by cnr
parent dad7346313
commit 1cb6151817

View File

@ -34,7 +34,7 @@ public class RankCommand extends CommandBase<SalesPackageManager>
final Rank rankEnum = Rank.valueOf(rank);
if (rankEnum == Rank.HERO || rankEnum == Rank.ULTRA || rankEnum == Rank.LEGEND || rankEnum == Rank.TITAN || rankEnum == Rank.ALL)
if (rankEnum == Rank.HERO || rankEnum == Rank.ULTRA || rankEnum == Rank.LEGEND || rankEnum == Rank.TITAN || rankEnum == Rank.ETERNAL || rankEnum == Rank.ALL)
{
Plugin.getClientManager().SaveRank(playerName, uuid, mineplex.core.common.Rank.valueOf(rank), perm);
caller.sendMessage(F.main(Plugin.getName(), playerName + "'s rank has been updated to " + rank + "!"));