Created
August 3, 2012 18:10
-
-
Save pxpc2/3250100 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (Player currentPlayer : Players.getLoaded()) | |
{ | |
if (currentPlayer != null && currentPlayer.getName() != Players.getLocal().getName()) | |
{ | |
for (String listName : closedPlayers) | |
{ | |
if (currentPlayer.getName().toLowerCase().equals(listName)) | |
{ | |
return; | |
} | |
else | |
{ | |
closedPlayers.add(currentPlayer.getName().toLowerCase()); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment