8000 [Feat] AsyncOfflinePlayerArgument by Bram1903 · Pull Request #632 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content

[Feat] AsyncOfflinePlayerArgument #632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Revert: Change to the Player Argument documentation
  • Loading branch information
Bram1903 committed Jan 12, 2025
commit 96fe7c96f1aa3db82b34032d616418fbe91c86d4
2 changes: 1 addition & 1 deletion docssrc/src/argument_entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The `PlayerArgument` class is very similar _(almost identical)_ to `EntitySelect

> **Developer's Note:**
>
> The `PlayerArgument` internally uses the `GameProfile` class from Mojang's authlib, which means that this argument has a significant performance overhead compared to using `EntitySelectorArgument.OnePlayer`, especially since the API call is made synchronously.
> The `PlayerArgument` internally uses the `GameProfile` class from Mojang's authlib, which means that this argument has a slight performance overhead compared to using `EntitySelectorArgument.OnePlayer`

<div class="example">

Expand Down
0