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

Async ItemStack update #28

Open
weihao opened this issue Mar 6, 2021 · 1 comment
Open

Async ItemStack update #28

weihao opened this issue Mar 6, 2021 · 1 comment

Comments

@weihao
Copy link

weihao commented Mar 6, 2021

Is your feature request related to a problem? Please describe.

Created a page full of player skulls, whenever the player opens the GUI for the first time, the server freezes.

Describe the solution you'd like

Asynchronous action on GUI icon itemstack after GUI is opened.

Describe alternatives you've considered

Additional context

@Phoenix616
Copy link
Owner

Accessing the Bukkit API async is in general not a good idea so I'm not too sure if this can be supported directly in the library, I suggest completing the player profiles of the skull async before adding them to the GUI.

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

No branches or pull requests

2 participants