FancyInnovations / FancyInnovations/FancyPlugins

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

Open
#214 0 comments 0 reactions 0 assignees View on GitHub
Priority: Medium Status: Pending Type: Bug
Dominant language
Java
Stars
88
Forks
109
PR merge metrics
No merged PRs in 30d

Description

### In which plugin has the error occurred?

FancyNpcs

### What happened?

I’ve encountered an issue where the MiniMessage `
` 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 `
`, like `/npc displayname test line1
line2`
3. Observe the result

**Expected behavior:**
The `
` 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

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.