mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-14 04:01:56 +01:00
whoops (#3691)
This commit is contained in:
parent
35dfc2c8f5
commit
7297fb862c
@ -4153,8 +4153,8 @@ public interface Message {
|
||||
);
|
||||
|
||||
static Component formatColoredValue(String value) {
|
||||
boolean containsLegacyFormattingCharacter = value.indexOf(LegacyComponentSerializer.AMPERSAND_CHAR) != 1
|
||||
|| value.indexOf(LegacyComponentSerializer.SECTION_CHAR) != 1;
|
||||
boolean containsLegacyFormattingCharacter = value.indexOf(LegacyComponentSerializer.AMPERSAND_CHAR) != -1
|
||||
|| value.indexOf(LegacyComponentSerializer.SECTION_CHAR) != -1;
|
||||
|
||||
HoverEvent<Component> hover = HoverEvent.showText(text(value, WHITE));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user