Skip to content
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

Question: asynchronous addition of items #52

Closed
Lemar98 opened this issue Oct 4, 2023 · 1 comment
Closed

Question: asynchronous addition of items #52

Lemar98 opened this issue Oct 4, 2023 · 1 comment

Comments

@Lemar98
Copy link

Lemar98 commented Oct 4, 2023

Hello. Is it possible in your API to add items to inventory asynchronously? For example, in order to add players' heads without delay

@NichtStudioCode
Copy link
Owner

I think AsyncItem fits your use-case pretty well. Generally, you can update or change items at any time after a Window has been opened, but this should always be on the server thread.
If there are any further questions, please ask them in GitHub Discussions or on the Discord server :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants