A new crash with Oritech Laser compatibility
KaydenXzilon opened this issue ยท 1 comments
Describe the bug
This issue is connected to the previous bug Caltinor/Project-MMO-2.0/issues/661
In the previous bug which is now fixed. the oritech laser would cause a crash by passing a player entity instead of a fake entity to the DamageDealthHandler witch caused a crash. while this particular issue has now been resolved (Eternally grateful for this by the way, thank you very much), There is now an issue with another event handler that happens when the mob dies after the damage from the laser. the new class is called "DeathHandler.java"
Expected behavior
the game doesn't crash when the mob dies
To Reproduce
Same steps from the ticket Rearth/Oritech/issues/293
except this time the game doesn't crash when the mob takes damage but instead it crashes when the mob dies
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
- Minecraft: 1.21.1
- Loader: Neoforge - 21.1.138
- PMMO: 1.21.1-2.6.27
Additional context
Thank you very much for your help with this issue and the quick resolution of the first issue.
I forgot to attach a crash report. here is the file