Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mini message parsing in NumberUtil#displayCurrency #5921

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

Evidentsinger14
Copy link
Member

Information

This PR does not close any issues

Details

Proposed fix:
fixes colors being parsed when using minimessage tags in the currency locale key.

Environments tested:

OS:
Windows 10

Java version:
Java 21

  • Most recent Paper version (1.21.1-51-master@789a267)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:
before fix:
image

after fix:
image

@mdcfe mdcfe requested a review from JRoy September 1, 2024 18:52
@mdcfe mdcfe added this to the 2.21.1 milestone Sep 1, 2024
@mdcfe mdcfe added the module: main Issues or PRs for the main Essentials module label Sep 15, 2024
@JRoy JRoy changed the title fix MM parsing in NumberUtil Fix mini message parsing in NumberUtil#displayCurrency Nov 25, 2024
@JRoy JRoy enabled auto-merge (squash) November 25, 2024 02:10
@JRoy JRoy added the type: bugfix PRs that fix bugs in EssentialsX. label Nov 25, 2024
@JRoy JRoy merged commit bea43e8 into EssentialsX:2.x Nov 25, 2024
1 check passed
@Evidentsinger14 Evidentsinger14 deleted the fix/balance-parsing branch November 27, 2024 01:02
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.

3 participants