This mod prevents chat and client-side guis to be accidentaly closed by server.
Behavour:
Client-side guis:
mod prevents client-side guis from being closed by close window packet or teleportations (except for death screen)
Chat:
as chat is client-side gui, above also apllies to it
if new gui is opened, your chat message is reserved and restored when it becomes possible to open the chat
Example use cases:
- you was typing something in the chat and creeper blows you up.. How sad. But after you respawn, chat should be opened back with message you was typing
- you play on server network and get teleported a lot by your party's leader. Normally your chat will get closed after each teleport, but now it will stay like nothing happened :)