I'm attempting to make an armor progression system in our pack, and I found that Diamond armor can be found in loot chests. I tried to use LootJS to disable it, but it doesn't do anything.
event.enableLogging();
event.addLootTableModifier('minecraft:chests/end_city_treasure')
.removeLoot("#forge:armors/diamond")
console.log('Why you no work')
})```
`console.log` sends the message to the console, but the `enableLogging()` thing doesn't log anything, along with not removing the items from the loot table.
*(sorry if I'm asking for help too much, I guess I just suck at this).*