EssentialsX

EssentialsX

2M Downloads

Curse of Vanishing ignored in off-hand / shield slot

Archie8748 opened this issue ยท 0 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=8afa7a5b64784ef390831a225849bad0

Error log (if applicable)

No response

Bug description

After installing EssentialsX 2.19.1-dev+55 and setting:
vanishing-items-policy: delete
... Curse of Vanishing items in the off-hand / shield slot do not delete/disappear.

Curse of Vanishing items in other inventory and armor slots disappear as expected.

Steps to reproduce

TO REPRODUCE

  1. Install EssentialsX
  2. Set /gamerule keepInventory false
  3. In the EssentialsX config.yml set option vanishing-items-policy: delete
  4. Run /essentials reload
  5. Place random "Curse of Vanishing" enchanted items in inventory, including armor and offhand slots
  6. Die ingame

Expected behaviour

EXPECTED RESULT

  • Curse of Vanishing items all disappear, no matter which inventory slot they are in.

Actual behaviour

RESULT:

  • Curse of Vanishing items disappear from everywhere except the offhand/shield slot