Closed 0xTas closed 6 months ago
Nevermind I am dumb, this is caused because xCarry and Armor Storage were patched with the 1.20 update. Disable any modules that use these features such as Meteor's inventory tweaks, and the issue goes away. Still, the new method of swapping armor is worth looking into because it works regardless and isn't subject to this conflict behavior.
Describe the bug After 2b2t updated to 1.20, AutoArmor now fails to swap elytras during flight. I did not test with other armor types.
To Reproduce Steps to reproduce the behavior:
Other mods List other mods you are using (if any): meteor, future, & some other qol client mods, but these are all irrelevant because I already have a working fix in my own custom meteor module and it works perfectly fine regardless of what client's efly I am using, so this is not a mod conflict issue.
Expected behavior A clear and concise description of what you expected to happen. AutoArmor should successfully and instantly swap your elytra the moment that it meets the criteria to be swapped.
Screenshots If applicable, add screenshots to help explain your problem. N/A
Additional context This issue is likely due to 2b2t updating to 1.20. You can no longer manually swap armor pieces in your inventory by left-clicking them into an empty armor slot, or by click-swapping them on a preoccupied armor slot. The server rejects your transaction when you do this.
The new way of swapping armor is to either shift-click the armor piece into its empty armor slot, or in the case of an already occupied armor slot: hold the desired piece of equipment in your main hand and right-click it (or otherwise invoke or spoof the interactionManager.interactItem() procedure with it.)
You can continue to achieve silent/instant swaps but the steps now go like this:
from my testing this can all be done on the same tick, so the player shouldn't notice any difference.
*edit: small behavior details correction