Mojira Archive
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.