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

When inventory full items get picked up anyway and disappear #98

Closed Delfonso closed 4 months ago

Delfonso commented 4 months ago

When your inventory is full and you unequip you backpa items get picked up anyway and disappear.

How to reproduce:

  1. fill inventory
  2. equip a backpack
  3. unequip backpack
  4. pick item up
BeansGalaxy commented 4 months ago

Placing the backpack with the hotkey doesn't remove the item it just sets it's count to 0. The code responsible for collecting the traits of what you have equipped never checks if the count is zero. All it saw was a backpack in the back slot and inserted the item anyway. You can still get these items if you equip a backpack manually in your inventory.

This'll be fixed in 20.1-0.20-v2