-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
IndexOutOfBoundsException in PacketEvents while using Matrix #1029
Comments
report the bug to packetevents |
I can't reproduce this issue using the latest packetevents build and latest ecoenchants version 2024-10-21.17-41-04.mp4Are you running the latest Matrix version and does Matrix use the latest packetevents build? |
I'm the author of Matrix and I'm using Here's the stacktrace of error:
|
also experiencing this error with custom model data jukebox discs |
Describe the bug
When executing the /ecoenchants gui command and I select the special enchantment book, I get kicked off the server when clicking the special enchantment book. Matrix throws an IndexOutOfBoundsException related to packet handling, which seems to occur when handling the window event when clicking the enchantment book, causing the Netty buffer to crash during the processing of the item data.
Software brand
Paper version 1.21.1-120-master@57c75a4
Velocity Version
Velocity 3.3.0-SNAPSHOT (git-2016d148-b436)
Plugins
Spark profile#1: https://spark.lucko.me/bDBUBmexU8
#1 packetevents (v2.5.0)
Spark profile#2: https://spark.lucko.me/cur98ZyVSd
#2 packetevents (v2.5.1+e13632774-SNAPSHOT)
How To Reproduce
Steps to reproduce the behavior:
Expected behavior
The plugin should open
/ecoenchants gui
and use the special enchantment book without crashing or throwing any exceptions, allowing the game to run smoothly.Actual Behavior
The server throws IndexOutOfBoundsException and logs an error stack trace when trying to read from the packet buffer, resulting in the inability to use the special enchantment book in the EcoEnchants GUI window properly.
Screenshots
https://github.com/user-attachments/assets/fcc23773-7901-4c25-adfd-f351e51d3674
Additional context
It seems to be a problem when Matrix interacts with packets related to the interaction of items in EcoEnchants custom configuration integration. I have tested with Matrix developer, he helped me fully with the Matrix protection plugin. He said that this has a problem with packetevents-spigot-2.5.0 & packetevents-velocity-2.5.0, you guys who developed packetevents need to help fix this.
The text was updated successfully, but these errors were encountered: