Skip to content

Fix MiniMessage and color formatting in disposal GUI title - #6616

Merged
JRoy merged 1 commit into
EssentialsX:2.xfrom
KeaneAudric777:fix/disposal-gui-colors
Aug 29, 2026
Merged

Fix MiniMessage and color formatting in disposal GUI title#6616
JRoy merged 1 commit into
EssentialsX:2.xfrom
KeaneAudric777:fix/disposal-gui-colors

Conversation

@KeaneAudric777

Copy link
Copy Markdown
Contributor

Information

This PR fixes #6606.

Details

Proposed fix:
Passes the localized disposal string through AdventureFacet#miniToLegacy before creating the chest inventory view in both Commanddisposal.java and SignDisposal.java. This ensures both legacy formatting codes (&a&l) and Adventure/MiniMessage tags (<green><bold>) parse and render correctly in the inventory title bar.

Environments tested:

OS: Windows 11
Java version: Java 21

  • Most recent Paper version (26.2)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:
image

image

@JRoy

JRoy commented Aug 29, 2026

Copy link
Copy Markdown
Member

thanks!

@JRoy
JRoy enabled auto-merge August 29, 2026 17:53
@JRoy JRoy added type: bugfix PRs that fix bugs in EssentialsX. module: main Issues or PRs for the main Essentials module labels Aug 29, 2026
@JRoy
JRoy added this pull request to the merge queue Aug 29, 2026
Merged via the queue into EssentialsX:2.x with commit 43cb76a Aug 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disposal Menu Title isn't parsing color codes (vanilla, normal hex, and minimessage)

2 participants