Tfarcenim / RandomEnchantments

random enchants
8 stars 15 forks source link

[1.12.2] Instant Death killing player deletes inventory. #76

Open HimitsuYami opened 1 month ago

HimitsuYami commented 1 month ago

Hi, I was using this mod in my 1.12.2 pack and accidentally shot myself with a bow enchanted with instant death. When I went to retrieve my stuff, there was nothing. None of my items, none of my XP, no grave (I use Corail Tombstone), I didn't even respawn with a key in my inventory or my soulbound enchanted gear. I even tried to restore it with a command to restore my inventory from Tombstone. It couldn't find it to restore.

HimitsuYami commented 1 month ago

from my research, I believe the issue stems from the fact that it just sets the victim's health to 0 instead of dealing any form of damage. I suspect that triggers a different form of "death" that isn't handled by anything as it's not an instance of damage.