Skip to content

in minecraft 1.21.4 Unhandled exception occurred in onPacketSending(PacketEvent) for CustomCrafting com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0 #420

@xmccln

Description

@xmccln

What happened?

An error will appear as follows when using a texture pack in 1.21.4:
logs

How can the bug be reproduced?

  1. run leaf latest version
  2. add texture packurl in config
  3. into server

Expected Behaviour?

no error

Plugin version

latest

Server software

version [10:15:37 INFO]: Checking version, please wait... [10:15:37 INFO]: This server is running Leaf version 1.21.4-DEV-ver/1.21.4@df1d62b (2025-05-29T05:28:28Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT) You are running a development version without access to version information Previous: 1.21.4-435-a0457c6 (MC: 1.21.4)

Relevant log output

Submit issue

  • read the Wiki and especially the FaQ, and made sure there is no fix to your issue,
  • searched for and ensured there isn't already an open issue regarding this,
  • are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions