Held Item Saver [Cobblemon]
This useful modification prevents the loss of items that Pokemon hold in battle. When items are removed or consumed during combat, the mod automatically returns them back after the battle ends.
It works as follows: at the beginning of each battle, the system remembers which items are held by all Pokemon in the team. After the battle ends, it checks if any items are missing or have changed. If discrepancies are found, everything is restored to its original state.
The mod's settings are located in the HeldItemSaver.json file and include only one option: {"logsEnabled":
Also available is the /helditemsaver reload command, which allows applying changes made to the configuration file without reloading the game.