Auto Clicker

Auto Clicker

361k Downloads

The mod attacks entities even if the player is dead

AdyTech99 opened this issue ยท 0 comments

commented

Describe the bug
The mod continues to attack entities during the player's dying animation, when the PlayerEntity is not yet removed from the world.

To Reproduce
Steps to reproduce the behavior:

  1. Get in a hole with a mob, like a villager
  2. Attack with mob mod on.
  3. Kill yourself by doing /kill (any method works, but /kill is easiest)
  4. Do not respawn yet. Observe on your screen that the villager is still being attacked even though you are dead.

Expected behavior
The mod should stop attacking if the player is dead.

Minecraft Enviorment

  • Minecraft Version: [1.21]
  • XRay Mod Version: [21.0.0]

Additional context
None