Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CreaxxOG authored Jan 30, 2024
1 parent 4295ff1 commit 11185e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Example usage of PhoenixAPI
Getting a player's highest rank:
```java
SharedAPI api = SharedAPI.getInstance();
Profile profile = api.getProfileHandler().getByUuid("447e2ed3-1cf5-4e73-9160-e3c5e195ed7d");
Profile profile = api.getProfileHandler().getProfile("447e2ed3-1cf5-4e73-9160-e3c5e195ed7d");
if (profile != null) {
player.sendMessage(profile.getName() + "'s highest rank is " + profile.getHighestRank().getName());
}
Expand Down

0 comments on commit 11185e1

Please sign in to comment.