Slots cannot be swapped with the offhand in sky stone chests
haykam821 opened this issue ยท 2 comments
Describe the bug
In sky stone and sky stone block chests, pressing the key bound to 'Swap Item With Offhand' while the cursor is highlighting a slot does not do anything. This contrasts with vanilla containers, where the same action properly swaps the slot contents with the offhand.
How to reproduce the bug
- Place a sky stone chest
- Open the sky stone chest
- Place an item in any slot in the screen handler
- Press the key bound to 'Swap Item With Offhand'
Expected behavior
When the key bound to 'Swap Item With Offhand' is pressed, like with vanilla containers, the contents of the offhand and the highlighted slot should be swapped.
Additional details
No response
Which minecraft version are you using?
1.18
On which mod loaders does it happen?
Fabric
Crash log
https://gist.github.com/haykam821/b468be8bdc66e7322495081779cf749f
Duplicate of #6924