Better-than-Adventure / bta-issues

You can report bugs for Better than Adventure here.
25 stars 0 forks source link

"Pick block" places current slot item into armor slots when inventory is full #350

Open theothertored opened 2 weeks ago

theothertored commented 2 weeks ago

Describe the bug

When the player's inventory is full and the player middle clicks to pick a block that isn't in their inventory yet, the item they were holding gets placed in their first free armor slot (in the order of boots, leggins, chestplate, helmet).

To Reproduce

Steps to reproduce the behavior:

  1. Fill every slot in your inventory with at least one item:

2024-08-28_09 52 28

  1. Middle click while looking at a block that isn't in your inventory:

2024-08-28_09 52 56

  1. The block you were holding will be placed in the first empty armor slot:

2024-08-28_09 54 13

This works with any item.

Expected behavior I expect the block to maybe be placed in the head slot, if it can be placed there, otherwise I don't expect items to be put in armor slots at all.

Version info: