Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions hypixel-api-core/src/main/java/net/hypixel/api/HypixelAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,24 +110,6 @@ public CompletableFuture<PlayerReply> getPlayerByName(String player) {
);
}

public CompletableFuture<FriendsReply> getFriends(UUID player) {
return get(FriendsReply.class, "friends",
HTTPQueryParams.create()
.add("uuid", player)
);
}

/**
* @param player uuid of a player in string format, can be both dashed or undashed
* @return {@link CompletableFuture} containing {@link FriendsReply}
*/
public CompletableFuture<FriendsReply> getFriends(String player) {
return get(FriendsReply.class, "friends",
HTTPQueryParams.create()
.add("uuid", player)
);
}

/**
* @param player uuid of a player
* @return {@link CompletableFuture} containing {@link GuildReply}
Expand Down

This file was deleted.