I'm looking to check if a spider has a skeleton riding it, so I can remove it. I've been removing certain mobs (including skeletons) on spawn check (actually teleporting so as to not spam logs) but they still go through when a spider spawns with a skeleton on it.
I've tried the functions involving passengers/riding but both give me errors in the console, so I'm not sure if those are bugged or maybe from another mod that I'm not meant to access.
The error being what's in the attachment.
