apavarino / Deadchest

Minecraft Plugin - Keep your inventory in a chest when you die !
https://dev.bukkit.org/projects/dead-chest
GNU General Public License v3.0
18 stars 17 forks source link

items don't go back into off-hand #17

Open Shadowdragon352 opened 3 years ago

Shadowdragon352 commented 3 years ago

if a player has a full inventory and something is in their off-hand when they die and then recover their items the item that was in their off-hand gets dropped on the ground and not put back into their off-hand.

Steps to reproduce the behavior:

  1. fill inventory and off-hand
  2. die
  3. recover items
  4. item from off-hand gets dropped on the ground

Expected behavior The item should be placed back into the players off-hand so it doesn't risk being lost or destroyed potentially by lava.

Screenshots 2021-08-29_12 50 21 2021-08-29_12 51 11 2021-08-29_12 51 14 2021-08-29_12 51 18

apavarino commented 3 years ago

This is for me an enhancement of the auto-equip stuff feature more than a bug.