disabling tropical fish drops if not killed by player

Hello, im trying to make a datapack that disables all tropical fish drops, unless it is killed by a player, but im struggling to figure out why it isnt working. the game recognizes that the datapack exists and is enabled when testing. ive linked a image of the contents of the .json for the tropical fish loot table
Continue to help post