You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting a player's armor while an InvUI window is open causes the client and server to become desynchronized. The armor does not appear to be equipped until the inventory is explicitly re-synchronized.
Observe how you are not visually wearing the diamond chestplate.
Click the chestplate armor slot. The diamond chestplate will appear on your cursor.
Video:
invui-armor-desync.mp4
Expected Behavior:
The diamond chestplate should be visible in step 4. Ideally, it should already be visible after step 2 for clients using mods that display armor independently of the inventory (e.g. uku's Armor HUD).
Possible cause:
This appears to be caused by container_set_slot and container_set_content packets being completely discarded, while updates to armor slots are not reproduced.
Setting a player's armor while an InvUI window is open causes the client and server to become desynchronized. The armor does not appear to be equipped until the inventory is explicitly re-synchronized.
Steps to reproduce:
Video:
invui-armor-desync.mp4
Expected Behavior:
The diamond chestplate should be visible in step 4. Ideally, it should already be visible after step 2 for clients using mods that display armor independently of the inventory (e.g. uku's Armor HUD).
Possible cause:
This appears to be caused by
container_set_slotandcontainer_set_contentpackets being completely discarded, while updates to armor slots are not reproduced.InvUI/invui/src/main/java/xyz/xenondevs/invui/internal/menu/CustomContainerMenu.java
Lines 367 to 369 in 069cbe3