Switching profiles cannot switch from body to hotbar
DashinBoi opened this issue · 2 comments
EG: wear elytra, then switch to a profile where the elytra is in the hotbar.
If the slot where the elytra is in the hotbar also has a chestplate, double pressing the bind will unequip the elytra, and then move it from inventory to hotbar.
Edit:
Slight error, this only occurs if the profile that swaps the elytra for a chestplate also has an item in the inventory slot that you're attempting to move the elytra to. (probably something weird in how to code is executed) I'll attach the profiles file I'm using.
profiles.txt
So you have a profile that has elytra in slot X and expect when you switch from a profile that has elytra in the chest slot the same elytra to end in slot X?
This won't work because the items from the old profile are not considered for use in the new one. the second attempt to apply the profile will be successful because the elytra is no longer part of the profile.
This works that way to avoid some infinite loop possibilities.