mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-05 03:53:10 +00:00
Fix using multiple hex codes in one message
This commit is contained in:
parent
7a955ff853
commit
6844d147dd
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ public class LocaleManager extends Manager {
|
||||||
String before = parsed.substring(0, matcher.start());
|
String before = parsed.substring(0, matcher.start());
|
||||||
String after = parsed.substring(matcher.end());
|
String after = parsed.substring(matcher.end());
|
||||||
parsed = before + hexColor + after;
|
parsed = before + hexColor + after;
|
||||||
|
matcher = HEX_PATTERN.matcher(parsed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue