mojira.dev
MC-69821

TNT "forgets" the player that ignited it when the world is reloaded

If you fire an arrow at a mob then reload the world, the arrow will not register that damage being inflicted by the player. Fixed in 23w41a.

Similarly, if you light TNT then reload the world, the TNT will act as if it was lit by redstone.

As a result, mobs killed with arrows and TNT after the world is reloaded will not drop XP or count as a player kill. Ores destroyed by TNT will not drop XP.

An easy way to fix this would be to add a tag to arrows and TNT that stores the UUID of the player that shot the arrow/lit the TNT.

Linked issues

Comments

CreeperMagnet_

Does this affect 1.13-pre6? If so, update the issue accordingly.

Godlander

affects every version from 1.13 snapshots to 19w06 1.14 snapshot

j_p_smith

Confirmed in 1.15.2 and 20w22a. Related to MC-59626.

Adamanti

Confirmed in 1.16.1 for TNT. TNT doesn't store its owner in NBT like other entities with an owner do.

Avoma

Can confirm in 20w48a.

ampolive

Can confirm in 21w43a for TNT.

Adamanti

Can confirm in 1.18.2 for TNT.

TomatoClownfish

Can confirm in 1.19.3.

Brain81505

Can confirm in 23w05a

OakyBush

Can confirm in 1.20 for TNT

[Mod] turbo

Hi, we currently take issues for version 1.20.1. Please update to the latest version as it includes the newest fixes.

oowooglac

BoxFigs

gegy

Confirmed

Gameplay

Low

Entities

Minecraft 1.7.10, Minecraft 1.8-pre3, Minecraft 15w42a, Minecraft 1.10.2, Minecraft 16w36a, ..., 23w05a, 1.19.4 Pre-release 2, 23w41a, 1.20.3 Release Candidate 1, 1.21.4

25w19a

Retrieved