Unequipping +HP items kills the character

Hello there.

Character A wields a Life Ring, which increases Max HP by 10. 

Character A fights a powerful enemy and survives the battle with 1 HP (because of poison or just sheer luck). The enemy dropped an Energy Ring, which increases MP by 25.

Character A now exchanges the Life Ring (+10 Max HP) with the Energy Ring (+25 Max MP). Lo and behold, Character A is now dead, because unequipping the Life Ring reduces his Max HP and also seemingly at least 1 nomal HP. If you have no way of reviving the character or all characters are dead and you then leave the menu you get a Game Over, because your whole party is dead.

Edit: I just realized that's caused by a script. Grah, stupid me.
This is hilarious and I am sorry that I am not able to help you with this, but thanks for reporting.

I am just seeing that scenario play out in a real world. "Wow, rad ring, better equip it. But before I can do that I must take of this otehroherosbetseugbseigub"
Since you now know what script it is, maybe ask someone to make a patch so that if you unequip an item and it would KO you, you stay alive with 1 HP?
Can you specify which plugin is causing the problem?
It's Yanfly's EquipCore. Normally, the RPG Maker only increases and decreases Max HP/SP. Yanfly changed it that it increases/decreases a certain % of the characters current HP. So, if you have 50/100 HP and equip an +10 HP item, you have 55/110 instead of 50/110 without the plugin. The problem is, you always loose 1 HP at the moment, so when a character only has 1 when he unequippes a +HP item he dies. I reported that, so I guess he will fix it soon.
He won't fix it, he doesn't like requests that make sense.

Your best bet would be to request it as a small snippet that if player === 1 life then stay at 1 life in the equip screen or probably making the players resis the incapacitated state out of combat would work.
Oh, you recreated the Morrowind death potion...bug?

http://www.uesp.net/wiki/Morrowind_talk:Alchemy#Fortify_Health_Expiration_Death

Original thread: https://forums.rpgmakerweb.com/threads/unequipping-hp-items-kills-the-character.50683/