un Register Gui
Unregisters a GUI from this virtual inventory, so that it will no longer receive updates when the inventory changes. This is useful for cleaning up references to GUIs that are no longer in use or have been closed, preventing memory leaks and ensuring that only active GUIs are updated with changes to the inventory.
Parameters
gui
The GUI to unregister from this virtual inventory. This should be the same instance of the GUI that was previously registered with the registerGui method.