mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-01 05:58:00 +01:00
Minor typo fix
Forgot to remove reduntant hashtag
This commit is contained in:
parent
d31c6e8c5f
commit
16051e09de
@ -262,10 +262,10 @@ public class ChatColor {
|
|||||||
// color or special code (white/red/reset/bold/etc...)
|
// color or special code (white/red/reset/bold/etc...)
|
||||||
code = codeName;
|
code = codeName;
|
||||||
} else {
|
} else {
|
||||||
// RGB color
|
// RGB color (special code not set)
|
||||||
int color = (red & 0xFF) << 16 | (green & 0xFF) << 8 | blue & 0xFF;
|
int color = (red & 0xFF) << 16 | (green & 0xFF) << 8 | blue & 0xFF;
|
||||||
|
|
||||||
code = "#"+Integer.toHexString(color);
|
code = Integer.toHexString(color);
|
||||||
}
|
}
|
||||||
|
|
||||||
return header + code + footer;
|
return header + code + footer;
|
||||||
|
Loading…
Reference in New Issue
Block a user