mojira.dev
MC-241936

Dead players are visible to other players after the dead player rejoins the server

The bug

Dead players are visible to other players after they rejoin after dying. This is inconsistent with the visibility of players when they do not rejoin the server after dying. When dead players do not rejoin the world, their body disappears from other players as soon as their death animation completes.

How to reproduce

  1. Create a world and open it to LAN

  2. Join the LAN server as another player

  3. Kill the other player

  4. Disconnect the other player from the server (by clicking the "Title Screen" button)

  5. Rejoin the server as the other player

Observed Behavior

The other player's dead body is visible.

Expected behavior

The other player's dead body would not be visible, and would not be shown after the player rejoins the server while dead.

Attachments

Comments 3

I can confirm this behavior in both 1.17.1 and 1.18 Pre-release 5.

[media][media]

Can confirm in 1.18.

[media]

Can confirm in 1.18.1.

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Normal

Networking

1.17.1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18, 1.18.1

Retrieved