Coding Help TryGetFishAreaForTile doesn't work in the mines??

Hackswell

Greenhorn
LocationDataVariable.TryGetFishAreaForTile(farmer.Tile, out var fishAreaID, out var fishAreaData);

I'm trying to get the list of fish you can catch in the Mines. And the above code works fine on Ginger Island West for example, but not in the Mines, say level 100 where I should get Lava Eel. I get a fishAreaID of "" in the mines, but the expected "gingerIslandWest" (or whatever it is) when there. I'd rather not hard-code probabilites into the code, but rather pull them directly from the game.

-Hackswell!
 
Top