Skip to content

Lang formatting issue when using nickname with bold, magic, etc #6559

@RandaeMC

Description

@RandaeMC

Type of bug

Other unexpected behaviour

Error log (if applicable)

No response

Bug description

If a user gives themselves a nickname with a format (bold, italicize, magic, etc), it brings that formatting over to the following text. For instance, having a bold nickname and sending a TPA request shows the recipient "...has requested to teleport to you." in bold.

Image

Steps to reproduce

  1. Give yourself a nickname with formatting (bold, italic, magic)
  2. Send a teleport request to another player.
  3. Look at the recipient's message and the text after their nickname will retain the formatting.

Expected behaviour

Only the nickname should have the formatting.

Actual behaviour

Text after the nickname retains the nickname's formatting.

Additional Information

Happens on both the official release of 2.22.0 as well as the latest development build of 2.22.1. Did not occur in 2.21.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions