Added Legend for Enjin

This commit is contained in:
Jonathan Williams 2014-12-23 06:07:14 -05:00
parent d2e078f890
commit 50993d19f3

View File

@ -322,7 +322,7 @@ public class Enjin extends MiniPlugin implements CommandExecutor
{ {
public void run() public void run()
{ {
if (_clientManager.Get(name).GetRank() == Rank.ALL || _clientManager.Get(name).GetRank() == Rank.ULTRA || _clientManager.Get(name).GetRank() == Rank.HERO) if (_clientManager.Get(name).GetRank() == Rank.ALL || _clientManager.Get(name).GetRank() == Rank.ULTRA || _clientManager.Get(name).GetRank() == Rank.HERO || _clientManager.Get(name).GetRank() == Rank.LEGEND)
{ {
_clientManager.SaveRank(name, mineplex.core.common.Rank.valueOf(rank), perm); _clientManager.SaveRank(name, mineplex.core.common.Rank.valueOf(rank), perm);
System.out.println("[" + _dateFormat.format(new Date()) + "] " + name + " received " + rank + " " + (perm ? "permanently." : "for 1 month.")); System.out.println("[" + _dateFormat.format(new Date()) + "] " + name + " received " + rank + " " + (perm ? "permanently." : "for 1 month."));