To recreate, go into the nether, or overworld, throw a trident(with loyalty) and go into the nether portal and get teleported before it comes back. It will be destroyed and you will lose your trident.
Linked issues
is duplicated by
Comments
I'm assuming that MC-135816 fixed it.
Seems to be fixed for 1.13.1.