staff not being able to join fix

This commit is contained in:
NewGarbo 2015-11-27 05:13:47 +00:00
parent f81d1d390a
commit 20a9ed5a6e
2 changed files with 2 additions and 2 deletions

View File

@ -950,7 +950,7 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
public void onJoin(PlayerLoginEvent event)
{
Rank rank = _clientManager.Get(event.getPlayer()).GetRank();
if (!event.getPlayer().isWhitelisted())
if (!event.getPlayer().isWhitelisted() || rank.has(Rank.EVENT))
{
event.setResult(PlayerLoginEvent.Result.KICK_OTHER);
// event.setKickMessage("This server is whitelisted!");

View File

@ -1,4 +1,4 @@
package mineplex.minecraft.game.core.boss;
package mineplex.minecraft.game.core.boss;
import java.io.File;
import java.io.IOException;