Don't show vanished staff in ClansInvitePage
This commit is contained in:
parent
acd826c91a
commit
88635135cc
@ -41,7 +41,7 @@ public class ClanInvitePage extends ClanPageBase
|
|||||||
int index = 9;
|
int index = 9;
|
||||||
for (Player player : UtilServer.getSortedPlayers())
|
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);
|
addPlayerButton(index, player, clanInfo);
|
||||||
index++;
|
index++;
|
||||||
|
Loading…
Reference in New Issue
Block a user