-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Could not pass event InventoryClickEvent to CrazyCrates v3.6 Folia 1.21 #773
Comments
Not much I can do with that, it points to nothing in CrazyCrates itself in the stacktrace except one line. I don't run any tasks in the click event that try to read the world. |
When I shared this problem as Folia's github issues, they said it was a plugin problem. Frankly, I was confused about what to do. |
I just checked the line it points to, I don't run any task that would cause that error. The line it points to is a method handled purely by the server, so something must've changed internally. |
Should I report this to folia then? |
I don't know, if they sent you here. You just going to be bounced back and forth. |
Hell yeah the hours of hell begin for me. Thanks. |
if (!(inventory.getHolder(false) instanceof CratePrizeMenu holder)) return; This is the line it throws the error on in question, I don't run any task that would make this throw that exception, so my only bet is that it's something to do with inventory#getHolder internally. I simply use the API provided. I see this was your issue here, PaperMC/Folia#270. a stacktrace would've probably helped, but they might bounce you back here. |
maybe your plugin reads incorrectly world data? |
I don't read the world in that event. |
you checked this line in logs?
|
That's the same thing, it checks if the inventory holder matches. |
So I think paper maybe close is soon issues created by Potenza |
I understand how fix it. You need use RegionScheduler for get correct region in Folia. Because Folia working with |
That ignores the issue. |
what is issues? |
It's an oddity that it needs a region scheduler, despite not running in what I would assume an unsafe way? There is no task putting it anywhere else? I've even looked into Folia's source, the only thing is that check preventing the |
Ok, whatever how are you want. I just said error and how can will be fixed. Even if don't used any shedulers or RegionScheduler for Folia. |
I can't reproduce on |
Spark link
No response
Plugin Version
3.6
Server Version
1.21
Server Platform
Folia
Describe the bug
https://mclo.gs/XBazwWN
Crate Type
None
Steps to reproduce
Additional context
No response
Agreements
The text was updated successfully, but these errors were encountered: