Additive attributes apply and infinity stack incorrectly on hand swap (1.21.11)

DezForse
2026-01-23T05:47:48Z

Plugins: MythicMobs + MythicCrucible (latest versions)
Server: Paper/Purpur/Spigot 1.21.11
Problem: Additive attributes (especially generic.max_health) stack permanently when swapping hands between vanilla + custom items.

**Summary**
Custom items with ADDITIVE attributes (e.g. extra health hearts) cause permanent stacking when swapping between vanilla and custom items in hands:

Vanilla item (e.g. unenchanted netherite sword) in mainhand → custom item in offhand → no stacking.

Vanilla enchanted item + custom item → swapping hands (F key) applies additive attributes multiple times.

Stats stack and persist until server relog (death does not reset them).

This only happens with custom items having additive attributes; vanilla attributes work normally.

Steps to reproduce
1. Create items like this:
```
IcyStar:
Id: DIAMOND
Hide:
- ATTRIBUTES
Stats:
- DAMAGE_REDUCTION 0.1 MULTIPLY
- HEALTH 2 ADDITIVE
- HEALTH_REGENERATION 1 ADDITIVE
- FIRE_RESISTANCE 0.1 ADDITIVE
- ARMOR_FREEZE 1 ADDITIVE
```
2. Take item to hand and on second hand one of testing swords (enchanted and simple)
3. Start to swap custom item with one sword
4. Same with other and see the difference.
5. Relog to reset stacked stats.

This issue was marked in the Discord chat by different server so it's global problem.

Video:
![Screen_Recording_2026-01-20_011535](/uploads/be3291e0d61c91c9237c3dbceaf0b660/Screen_Recording_2026-01-20_011535.mp4)