Skip to content

Release 3.14.2#2944

Merged
tastybento merged 7 commits intomasterfrom
release/3.14.x
Apr 15, 2026
Merged

Release 3.14.2#2944
tastybento merged 7 commits intomasterfrom
release/3.14.x

Conversation

@tastybento
Copy link
Copy Markdown
Member

No description provided.

tastybento and others added 7 commits April 14, 2026 14:26
The minimumRank validation was clamping SETTING flags that use -1
(disabled) as their defaultRank. Since -1 is a valid disabled state
for SETTING/WORLD_SETTING flags (Island.isAllowed checks >= 0),
restrict the validation to PROTECTION flags only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
translateColorCodes serialises &#RRGGBB to §x§R§R§G§G§B§B (BungeeCord
format) via LegacyComponentSerializer.  When that string was subsequently
passed to parseMiniMessageOrLegacy → legacyToMiniMessage, the &x prefix
was silently ignored and each following &R digit was misread as a named
colour code (&2 = dark_green, &3 = dark_aqua, …), producing completely
wrong colours.

Fix: after normalising § to &, detect the &x&R&R&G&G&B&B pattern in
both legacyToMiniMessage and replaceLegacyCodesInline and convert it to
the &#RRGGBB form that HEX_PATTERN already handles.

Fixes #2943

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Files like pt_BR.yml were being silently ignored because Locale.forLanguageTag
returns Locale.ROOT for underscore-separated tags. Instead, when a tag contains
'_', replace it with '-', rename the file on disk to the corrected name, and
load it normally. A warning is logged so server admins know the file was
renamed. If a correctly-named file already exists the underscore file is
skipped with a warning.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The BungeeCord &x&R&R&G&G&B&B → &#RRGGBB conversion block was identical
in legacyToMiniMessage and replaceLegacyCodesInline. Extract it into a
private normalizeBungeeHex() method.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@tastybento tastybento merged commit f5ed1f2 into master Apr 15, 2026
3 checks passed
@tastybento tastybento deleted the release/3.14.x branch April 15, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant