Don't show vanished staff in ClansInvitePage

This commit is contained in:
ArcticZeroo 2017-10-24 17:25:36 -04:00 committed by Alexander Meech
parent acd826c91a
commit 88635135cc

View File

@ -41,7 +41,7 @@ public class ClanInvitePage extends ClanPageBase
int index = 9;
for (Player player : UtilServer.getSortedPlayers())
{
if (index <= 54 && getPlugin().getClan(player) == null)
if (index <= 54 && getPlugin().getClan(player) == null && !_plugin.getIncognitoManager().Get(player).Status)
{
addPlayerButton(index, player, clanInfo);
index++;