Closed Emibergo02 closed 5 months ago
This would need some investigation on what the issue that is mentioned in that comment here was, because I don't remember.
But getViewer() != null
could definitely be replaced with isOpen()
, as that is what the original intention here was (before some viewer-related refactoring that changed this behavior)
As expected, this breaks on 1.16.5 (and presumably all versions below that as well)
Player#updateInventory
:https://github.com/NichtStudioCode/InvUI/assets/51272202/f0ffb639-bb07-4747-a9de-8215e263ebfd
Player#updateInventory
:https://github.com/NichtStudioCode/InvUI/assets/51272202/edbc5222-af10-4198-80d2-cd9045b65592
Every time a itemstack is set in an inventory, InvUI sends an update Container packet. How to reproduce: Create a new merged GUI use https://github.com/adepierre/SniffCraft to see packet sent to the client More info here -> https://discord.com/channels/859080327096172544/1005893933458538537/1243500973805277185