Tetra

Tetra

25M Downloads

[Bug] Mining with pickaxe crashes the game

Closed this issue ยท 3 comments

commented

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

  1. Modify I pickaxe
  2. remove an enchant (I removed a looting 1 with an anvil)
  3. 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...

commented

PS: The enchant I removed was Fortune, not Looting. mybad

commented

I fixed the crash problem by replacing the head on which the enchant was. but still kinda worrying...

commented

This was due to a faulty destabilization effect, fixed in 6.11.0.