Skip to content

Bug: MiniMessage <br> Line Break In NPC Name Not Rendering Properly (Displays as LF) #214

@Chiloven945

Description

@Chiloven945

In which plugin has the error occurred?

FancyNpcs

What happened?

I’ve encountered an issue where the MiniMessage <br> tag does not produce a proper line break in NPC's name. Instead of rendering a new line, it displays as a literal “LF”.

Steps to reproduce:

  1. Create a NPC
  2. Use /npc displayname to set the NPC's name with <br>, like /npc displayname test line1<br>line2
  3. Observe the result

Expected behavior:
The <br> tag should create a new line in the rendered message.

Actual behavior:
The line break is not applied, and “LF” is shown instead.

Image

In which software has the error occurred?

Paper

Plugin version

2.9.2.346

Server version

1.21.11

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumShould be done for the next regular versionStatus: PendingWaiting for someone to work onType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions