mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-27 10:49:10 +00:00
Fix exact color matches not being formatted correctly (Fixes #912)
This commit is contained in:
@@ -391,7 +391,8 @@ public class MessageUtils {
|
||||
|
||||
for (Map.Entry<String, Integer> testColor : COLORS.entrySet()) {
|
||||
if (testColor.getValue() == rgb) {
|
||||
return testColor.getKey();
|
||||
closest = testColor.getKey();
|
||||
break;
|
||||
}
|
||||
|
||||
int testR = (testColor.getValue() >> 16) & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user