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

Issue blockstate get from the item meta is set to be at 0,0,0 problam #328

Open
y82t2z opened this issue Feb 6, 2025 · 2 comments
Open
Labels
status: needs triage type: bug Something doesn't work as it was intended to.

Comments

@y82t2z
Copy link

y82t2z commented Feb 6, 2025

Expected behavior

ShulkerBox Should open properly after right click.

Observed/Actual behavior

There is an error: at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:22:26 ERROR]: Could not pass event PlayerInteractEvent to NekoPlugin v1.4-SNAPSHOT
java.lang.IllegalStateException: Thread failed main thread check: Cannot queue block even data async, context=[thread=Region Scheduler Thread #2,class=io.papermc.paper.threadedregions.TickRegionScheduler$TickThreadRunner,region={center=[-89, 17],world=world}], world=world, block_pos=BlockPos{x=0, y=0, z=0}

Steps/models to reproduce

1.Write a plugin using the following code: https://pastes.dev/Xs6McEXrCv
2.compile plugin put and start server
3.add Shulker Box to you inventory and right-click on air
4.got error

Plugin and Datapack List

Plugin: Neko-Plugin(by me)
Datapack: Not have

Folia version

This server is running Folia version 1.21.4-DEV-dev/hard-fork@3af04d9 (1970-01-01T00:00:00Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)

Other

No response

@y82t2z y82t2z added status: needs triage type: bug Something doesn't work as it was intended to. labels Feb 6, 2025
@Spottedleaf
Copy link
Member

Can you please show the full stacktrace?

@y82t2z
Copy link
Author

y82t2z commented Feb 9, 2025

https://mclo.gs/Y9akUmI here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to.
Projects
None yet
Development

No branches or pull requests

2 participants