Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ protected void registerPackets() {
if (status != 3) return;

EntityTracker tracker = tracker(wrapper.user());
if (entityId == tracker.clientEntityId()) {
// Clients up to 1.13.2 run the local death handling on their own death event, clearing
// their own inventory; the death screen still shows from the health update
wrapper.cancel();
return;
}
EntityType entityType = tracker.entityType(entityId);
if (entityType != EntityTypes1_14.PLAYER) return;

Expand Down
Loading