staff not being able to join fix
This commit is contained in:
parent
f81d1d390a
commit
20a9ed5a6e
@ -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!");
|
||||
|
@ -1,4 +1,4 @@
|
||||
package mineplex.minecraft.game.core.boss;
|
||||
package mineplex.minecraft.game.core.boss;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
Loading…
Reference in New Issue
Block a user