
[Bug] Mining with pickaxe crashes the game
Closed this issue ยท 3 comments
Observed behaviour
I made removed an enchant from a pickaxe and ever since, My entire game crashes when I mine with it.
This is the error message :
The game crashed: unexpected error
Error: java.lang.NullPointerException: Cannot invoke "se.mickelus.tetra.effect.data.provider.entity.EntityProvider.getEntity(se.mickelus.tetra.effect.data.ItemEffectContext)" because "this.entity" is null
Expected behaviour
Not to crash my game?
Steps to reproduce
- Modify I pickaxe
- remove an enchant (I removed a looting 1 with an anvil)
- Try to break any block with it
Not sure if those steps will leave you 100% with the crash, but it does it for me
Crashlog
https://gist.github.com/Athnis/a03b9f324179aab115033f1a1a5d607b
Tetra version
6.10.1
mutil/mGui version
6.2.0
Forge version
1.20.1 - 47.4.6
Other mods
the whole Better MC Modpack with some tetra addons like tetranomicon and Combat Expanded. And a bunch more like Alex Caves, Born in Chaos...
I fixed the crash problem by replacing the head on which the enchant was. but still kinda worrying...