This is a simple mod that on player update tick if an elytra has damage while it is in your chest slot, reset its damage to 0. You can find a similar mod made by me that works with all tools and armor here: Durable Items.
Plans
- Add item tag "forge:elytra" to add support for other mod's custom elytras.
Please let me know below if there are any bus/issues or comments.