Added Legend for Enjin
This commit is contained in:
parent
d2e078f890
commit
50993d19f3
@ -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."));
|
||||||
|
Loading…
Reference in New Issue
Block a user