VanillaTweaks [Fabric & Forge]

VanillaTweaks [Fabric & Forge]

10M Downloads

[BUG] Disabling Vigor Enchantment in Config Leaves Players with Permanent Extra Hearts

leonx132 opened this issue ยท 0 comments

commented

Describe the Bug
After disabling the Vigor enchantment by changing its config setting from true to false mid-game, players who previously had the enchantment still retain the extra max health (extra hearts) permanently instead of reverting to their original health values.

To Reproduce
Steps to reproduce the behavior:

Enable the Vigor enchantment in the config (true).
Obtain and equip gear with the Vigor enchantment to gain extra hearts.
Change the config to disable Vigor (false) and reload the game/server.
Notice that players still have the extra hearts despite the enchantment being disabled.
Expected Behavior
Disabling the Vigor enchantment in the config should remove any bonus health granted by it, restoring players to their original max health.

Forge/Fabric Loader Version: 0.16.10
Minecraft Version: 1.20.1
Mod Version: VanillaTweaks-fabric-1.20.1-1.5.71
JEI Version (if present): 15.20.0.106 for Fabric 1.20.1
Fabric API Version (if present): [1.20.1] Fabric API 0.92.3+1.20.1