AllTheMods / AllTheMods/AllTheModium
[Crash]: value must be non-negative crash with allthemodium
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 18
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Possible Fixes
Yes
Modpack Version
ATM10 - 0.48
What happened?
A player died with an item on them with a negative durability or max durability(unsure which yet) the attempt at creative a grave causes a "value must be non-negative number" exception and thus crash. Easiest way to test is likely getting an allthemodium pickaxe(as that's what caused a crash on my server) and dying then collecting the grave
Could be collecting a grave with a negative damage and max damage item or just dying with one, I cannot get on my pc to test.
For right now I will see if I can manually patch the version of allthemodium on my server. I would directly report this to allthemodium if there was an issue page for that, but the mod is owned by ATMTeam so this should work.
Crash Log
crash-2024-09-12_20.31.36-server.txt
Latest.Log
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 reviewing crash-2024-09-12_20.31.36-server.txt and 2024-09-12-1.log, then reproduce the failure in ATM10 0.48 with an Allthemodium pickaxe and a grave. Determine whether negative durability or maximum durability triggers the exception; done means collecting the grave no longer crashes the server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100