Thrown Loyalty trident still drops with keepInventory on
If the player dies after throwing a loyalty trident, the item will be dropped as an item even if the keepInventory gamerule is enabled.
Steps to Reproduce:
(In survival)
- Get a trident
- Enchant it
/enchant @p minecraft:loyalty 3
- Throw the trident
- Die (can use /kill)
Observed Behavior:
The trident will drop as an item onto the ground.
Expected Result:
The trident would return to the player/their inventory.