Closed yeelp closed 2 years ago
Mods like 12M (MmmMmmMmmMmm) fire their own LivingHurtEvent without a LivingAttackEvent. This reveals a fundamental problem:
If a LivingHurtEvent is fired without a LivingAttackEvent, the whole thing crashes.
Either wrap the HitInfo in an Optional, or redo the damage calculation process.
Tentacle Pastbin: https://pastebin.com/rLZgLt75
One More: https://pastebin.com/uVE6je3a
Notes:
Mods like 12M (MmmMmmMmmMmm) fire their own LivingHurtEvent without a LivingAttackEvent. This reveals a fundamental problem:
If a LivingHurtEvent is fired without a LivingAttackEvent, the whole thing crashes.
Either wrap the HitInfo in an Optional, or redo the damage calculation process.