CJ-MC-Mods / Overloaded

Minecraft Mod: Overloaded
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Multi armor + soulbound + /kill = broken mods #105

Closed SkyyWasTaken closed 3 years ago

SkyyWasTaken commented 3 years ago

Minecraft Version: All versions that have multi armor at the moment

Overloaded Version: All that have multi armor

issue: if a player is /killed (or hit with a giant amount of damage) while wearing multi armor that is soulbound, the armor instantly heals them to full, which in turn means that when the player clicks "respawn," they do not properly respawn and are instead taken out of the respawn menu without properly respawning, which breaks some mods and makes it so that you don't get sent back to your spawn on death.

Steps to reproduce:

Maybe add a check to see if a player is dead before they're healed?