As you can see it keeps hopping although the item is there so he shouldn't hop anymore but keeps trying, thus hopping while the item is there and not picking it up. This only happens when I get kicked when hopping too much. Don't really know how to fix it.. tried different things already. I use this for hopping:
worlds.hopToF2PWorld()
-Edit
I fixed it with a surrounding: if (myPlayer().exists) {}