Incorrect Locked Slot UI Placement When Better Statistics Screen is present
Clownarchy opened this issue · 2 comments
Have you asked for help on discord?
YES
Minecraft Version/s
1.21.3
Modloader
Fabric
Modloader Version
0.16.9
Operating System
Windows
List of all other installed mods
A lot of mods so I'm dropping screenshots for now, sorry!
Describe the problem
When first joining a server, the first time you open your inventory the locked slot visuals will be in the wrong area. Re-opening the inventory fixes this.
Steps to reproduce
- Create a game instance w/ Fabric (0.16.9) for 1.21.3
- Install IPN 2.1.0 and libIPN 6.2.0 (and the other dependencies)
- Install "Better Statistics Screen" 3.13.4 and TCD Commons API 3.12.4
- Launch game and create locked slots, leave the server
- Re-join server, open inventory and observe position of locked slots (accidentally closing the inventory will fix this issue so be sure to not accidentally close the inventory)
I have tried to reproduce the problem with only or without "Inventory Profiles Next" and its dependencies installed.
- I have tested without 'Inventory Profiles Next' and its dependencies
- I have tested with only 'Inventory Profiles Next' and its dependencies and no other mods
Main reason for this behaviour is that when Better Statistics Screen mod is present first time the inventory is opened there is a miss match between the Screen and the ScreenHandler. For some reason the ScreenHandeler of the creative inventory is attached to the Screen of the PlayerInventory.