I'm writing a fishing bot for the fishing guild and I need to be able to tell the difference between a shark fishing spot and a swordfish fishing spot.
Right now I have
NPC fishingSpot = npcs.closest("Fishing spot");
Which will select a shark spot if it's the closest when I only want swordfish spots for example.
I tried the following
NPC fishingSpot = npcs.closestThatContains(true, "Fishing spot", "Cage");
But this is not working. I'm not sure what the bool does but false doesn't work either. Obviously this method doesn't do what I hoped it would. How could I get the closest "Fishing spot" that contains the interaction "Cage"?