AutoBlock crash when world is invoked and null
Caltinor opened this issue ยท 1 comments
Describe the bug
Observed while using Dynamic Trees. The hardness calculation used by the mod gets passed a null Level
and crashes for an NPE.
Expected behavior
Don't crash
To Reproduce
Steps to reproduce the behavior:
- use a mod, like dynamic trees that uses the Level parameter in the hardness check
- use autovalues to determine configuration
- perform action related to autovalue property
- crash.
Versions:
- Minecraft: 1.19 & 1.18
- Loader: Forge
- PMMO: rework
Additional context
crash-2022-07-17_20.08.32-client.txt
I am going to backburner this for the time being. My reasoning is this applies specifically to DynamicTrees and their interaction with AutoValues. That specific interaction already makes the issue fairly niche. That nicheness is further compounded by the fact that this only applies in the context of AutoValues, which means that DynamicTrees becomes compatible with manual configuration.
Should more mods result in the same crash reason, I will readdress this issue.