isXander / isXander/YetAnotherConfigLib
Crash on 1.21.6+ when clicking a LabelOption
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 155
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
NullPointerException: Cannot invoke "net.minecraft.text.Style.getClickEvent()" because "$$0" is null
Seems to affect latest yacl (3.7.1) for mc 1.21.6 and up, fabric and neoforge. 1.21.5 works fine.
This was reported to me here but I think this is a yacl issue.
Here is the user's log:
https://mclo.gs/vkzv1mn
Here's my own log with a minimal mod set and stackdeobfuscator:
https://mclo.gs/tf7PKJs
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash when clicking a LabelOption on Minecraft 1.21.6 or newer with YACL 3.7.1, then compare behavior with 1.21.5. Inspect the provided user log and minimal-mod log, and consider the report done when the click no longer throws the Style.getClickEvent() NullPointerException on both Fabric and NeoForge.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100