Skip to content

[BUG] Disconnected from server if toggle Chat hidden from Hidden to Shown #34

@Acuena85

Description

@Acuena85

Describe the bug
The bugg causes the player to be disconnected from the server with the following error message "Received chat packet with missing or invalid signature" if the chat had been hidden and the player turns the chat back on. Note that the played needs to try to send something in the chat before turning the chat back on.

I tested by disabling the mod and the core. Could not do it when it was disabled (Renming both mod files to *.jardisabeld)

Minecraft Info
Minecraft information:
Minecraft version: 1.19.2

  • AdvancedChatCore-1.19.2-1.5.8
  • AdvancedChatHUD-1.19.1-1.3.4

To Reproduce
Steps to reproduce the behavior:

  1. Go to Options -> Chat Settings
  2. Turn "Chat: Shown" to "Chat: Hidden"
  3. Click Done and go back in-game
  4. Type anything in the chat. Should get a message "Chat disabled in client options"
  5. Go back into the Chat Settings and turn "Chat: Hidden" back to "Chat: Shown"
  6. Go back in-game and once again try to type something in the chat.
  7. And voila, disconnected

Expected behavior
Should not get disconnected when trying to chat after turning the chat back on.

Screenshot:
bild_2023-04-30_173233764

Additional context
No other mods affecting the chat.
In Vanilla, you can't open that chat when it's hidden, but with this mod you can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions