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

Fix thread exception when accessing bukkit methods from netty threads #2003

Open
wants to merge 1 commit into
base: 2.0
Choose a base branch
from

Conversation

Axionize
Copy link
Contributor

@ManInMyVan not sure what happened when you said you were fixing the exception from calling on the netty thread, your commit to fix this did not because you aren't running in the right thread.

@Axionize Axionize requested a review from ManInMyVan February 10, 2025 17:54
@Axionize Axionize force-pushed the fix/resetBukkitItemUsage-threading-illegal-state-exception branch from 528e57c to 4b391e4 Compare February 10, 2025 17:54
@Axionize Axionize force-pushed the fix/resetBukkitItemUsage-threading-illegal-state-exception branch from 4b391e4 to b8da39c Compare February 10, 2025 17:56
@ManInMyVan
Copy link
Contributor

I want to avoid attack, start using, this runs, canceling item usage

@Axionize
Copy link
Contributor Author

Sorry I don't follow, I'm not sure what you're talking about

@ManInMyVan
Copy link
Contributor

Look at the scoreboard

2025-02-10.15-43-12.mp4

@AoElite
Copy link
Collaborator

AoElite commented Feb 10, 2025

@ManInMyVan yea but you can't update the player's inventory on the netty thread regardless

@Axionize
Copy link
Contributor Author

Axionize commented Feb 11, 2025

Look at the scoreboard

2025-02-10.15-43-12.mp4

We can just send a packet to the server on behalf of the player to sync the inventory state?

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

Successfully merging this pull request may close these issues.

3 participants