BeansGalaxy / Beans-Backpacks-2

1.20 inventory management mod. Designed to solve inventory clutter and transferring items while belonging in vanilla Minecraft's aesthetic.
MIT License
21 stars 1 forks source link

Backpacks vanish on death when keepInventory is on #152

Closed CoruscareGames closed 1 month ago

CoruscareGames commented 1 month ago

Backpacks vanish, voiding themselves and their contents, on death. The backpack properly places itself when keepInventory is off. Hmm.

  1. Set keepInventory to false.

  2. Equip a backpack.

  3. Die, somehow. Result: The backpack is placed in the world. No issues.

  4. Set keepInventory to true.

  5. Equip a backpack.

  6. Die, somehow. Result: The backpack is not placed in the world.

More testing needed if this is due to some kind of interaction between mods.

BeansGalaxy commented 1 month ago

Recently I changed it so keepInventory has no effect on the Back Slot but I forgot to change the code that drops the backpack. This is fixed in the next version. Use /beansmod gamerule keepBackSlot to keep the back slot on death

BeansGalaxy commented 1 month ago

keepInventory no longer deletes the backpack in 20.1-2.0 :)