Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-265250

Chat messages are gone after starting configuration phase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.2 Pre-release 1
    • None
    • (should not matter)
      OS: Ubuntu 20.04.6 LTS (amd64, 5.15.0-82-generic)
      Java client version: Temurin-17.0.8+7
    • Plausible
    • Networking
    • Normal
    • Platform

      When the client enters the network configuration phase after receiving a ClientboundStartConfigurationPacket, all sent and received chat/system messages are lost.

      Cause

      This is caused by Minecraft#clearClientLevel() calling Gui#onDisconnected(), which clears all chat messages.

      Some other thoughts

      This could also be working as intended, but I don't think chat messages should be completely gone when entering configuration phase, while still being on the same server.

      There could also be a problem with signed chat messages, because the last seen messages are also being reset when switching packet listeners. Still, system messages have no signature and I don't see a reason not to keep them.

            Unassigned Unassigned
            booky10 booky 10
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: