Trying to stop zombies and skeletons from dropping their armor

I've been tinkering in a mod pack for me and a friend and recently added a mod that allowed armor to scale with the players armor. This was cool but allowing us to get netherite armor from zombies is super over powered, so I'm trying to stop armor drops altogether.

Its possible that one of the mods overrides minecraft's default ArmorDropChances stats but that's unclear too me, I've never made a data pack before so I watched a tutorial that told me how to set it up and I put this command in the tick function: execute as @e[type=zombie] run data modify entity @s ArmorDropChances set value 0

I figured that if this was right then it is probably a problem with a mod but it could also be that I'm just doing the command incorrectly.

Continue to help post