mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Removed deprecated functions from PartyAPI
This commit is contained in:
parent
d196710a87
commit
685f901e09
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user