You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're using the latest build for your server version
This isn't an issue caused by another plugin
You've checked for duplicate issues
You didn't use /reload
Describe the question
has chunk packet contains an byte array for chunk data as per wiki.vg
so created that code can be seen below , to get that packet. then getting byte array
which throws com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0
due fact getByteArrays is empty.
API method(s) used PacketContainer#getByteArrays() StructureModifier#read(int fieldIndex)
Make sure you're doing the following
/reload
Describe the question
has chunk packet contains an byte array for chunk data as per wiki.vg
so created that code can be seen below , to get that packet. then getting byte array
which throws
com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0
due fact getByteArrays is empty.
API method(s) used
PacketContainer#getByteArrays()
StructureModifier#read(int fieldIndex)
Expected behavior
should return the byte array?
Code
The text was updated successfully, but these errors were encountered: