mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-08-30 09:39:47 +02:00
whoops (#3691)
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user