full server trainee+ fix

This commit is contained in:
Ben 2016-04-05 12:37:04 +01:00
parent 7f92a3c048
commit cfac41f216

View File

@ -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())