LootGenerateEvent.getLootTable annotated as NotNull but can be null sometimes
Open
Nobody has claimed this yet.
status: accepted
version: 1.21.10
version: 1.21.8
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
.
Contributor guide
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
Locate LootGenerateEvent.getLootTable and inspect its nullability annotation and callers. Reproduce or identify the circumstances where it returns null, then check nearby API tests or event behavior. Done means the annotation and documented contract accurately match the observed behavior, with regression coverage if an existing test location is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100