Removed deprecated functions from PartyAPI

This commit is contained in:
GJ 2013-03-17 10:41:34 -04:00
parent d196710a87
commit 685f901e09

View File

@ -120,26 +120,6 @@ public final class PartyAPI {
PartyManager.setPartyLeader(player, PartyManager.getParty(partyName)); PartyManager.setPartyLeader(player, PartyManager.getParty(partyName));
} }
/**
* Get a list of all players in this player's party.
* </br>
* This function is designed for API usage.
*
* @param player The player to check
* @return all the players in the player's party
* @deprecated
*/
@Deprecated
public static List<String> getAllMembers(Player player) {
List<String> memberNames = new ArrayList<String>();
for (OfflinePlayer member : PartyManager.getAllMembers(player)) {
memberNames.add(member.getName());
}
return memberNames;
}
/** /**
* Get a list of all players in this player's party. * Get a list of all players in this player's party.
* </br> * </br>