buildies can join full

This commit is contained in:
Cheese 2015-10-18 10:54:34 +11:00
parent 41b6fdc74e
commit d901cfa12c

View File

@ -821,7 +821,9 @@ public class ArcadeManager extends MiniPlugin implements IRelation
return;
}
}
if (_clientManager.Get(event.getPlayer().getName()).GetRank().has(event.getPlayer(), Rank.MODERATOR, false))
if (_clientManager.Get(event.getPlayer().getName()).GetRank().has(event.getPlayer(), Rank.MODERATOR, false) ||
_clientManager.Get(event.getPlayer().getName()).GetRank() == Rank.MAPDEV ||
_clientManager.Get(event.getPlayer().getName()).GetRank() == Rank.MAPLEAD)
{
event.allow();
event.setResult(PlayerLoginEvent.Result.ALLOWED);