Claiming multiple restored fossil mons disconnects the player.

Summary

This is an odd one. Collecting Pokémon from fossil tanks that are right next to each other (at least two machines) can disconnect the player from the world, both in singleplayer and a server environment.

Steps to reproduce

Attempt to collect pokemon from your fossil tanks that you placed right next to each other.

What is the current bug behavior?

I'm really not sure why this is happening. I would guess the machines are all registering the mouse click within a certain distance, thus throwing the error because it might be trying to collect multiple fossil mons at the same time. Just a wild guess.

What is the expected correct behavior?

No crash pls

Cobblemon Version and Mod Loader

Fabric (also happens on Neoforge, I did test it there), Latest main - bd028c32

Mods used besides Cobblemon

None.

Relevant logs, screenshots and/or videos

This video is an extreme scenario. In more practical tests with just two machines, it would always disconnect when clicking on the second machine, with an occasional disconnect when clicking on the first one. Screen_Recording_2025-10-02_014625 Screenshot_2025-10-14_191417