full server trainee+ fix
This commit is contained in:
parent
7f92a3c048
commit
cfac41f216
@ -1202,10 +1202,11 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
|
||||
{
|
||||
Rank rank = _clientManager.Get(event.getPlayer()).GetRank();
|
||||
|
||||
if (rank.has(Rank.MODERATOR))
|
||||
if (rank.has(Rank.HELPER))
|
||||
{
|
||||
event.allow();
|
||||
event.setResult(PlayerLoginEvent.Result.ALLOWED);
|
||||
return;
|
||||
}
|
||||
|
||||
if (UtilServer.getPlayers().length >= UtilServer.getServer().getMaxPlayers() && !rank.has(Rank.ADMIN) && !event.getPlayer().isWhitelisted() && !event.getPlayer().isOp())
|
||||
|
Loading…
Reference in New Issue
Block a user