mojira.dev
MC-251245

Title persists between switching servers

When a title is sent to the client, and then the client disconnects whilst displaying that title. When the user logs into another server, that title persists.

Steps to reproduce

  • Use the command /title @s title "bug"

  • Log out while it is being displayed

  • Log into another world

  • Observe title still present

Code analysis

Quilt mappings 1.18.2

In the "clear" function in InGameHud, set title to null and reset the delay, like the ClearTitle packet.

public void clear() {
   this.playerListHud.clear();
   this.bossBarHud.clear();
   this.client.getToastManager().clear();
   this.client.options.debugEnabled = false;
   this.chatHud.clear(true);
   
   // add below code
   this.clearTitle();
   this.setDefaultTitleFade();
}

Comments 2

Thank you for your report!
We're tracking this issue in MC-55347, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

isXander

(Unassigned)

Unconfirmed

(Unassigned)

1.18.2

Retrieved