fix: use legacySection() instead of ampersand, even though it breaks color codes, i still want the url stuff to work because of discord and things
This commit is contained in:
@@ -1 +1 @@
|
||||
2601
|
||||
2602
|
||||
@@ -8,7 +8,11 @@ import net.kyori.adventure.text.format.TextDecoration;
|
||||
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
||||
|
||||
public class ChatMessageUtilities {
|
||||
private static final LegacyComponentSerializer SERIALIZER = LegacyComponentSerializer.legacyAmpersand()
|
||||
private static final LegacyComponentSerializer SERIALIZER = LegacyComponentSerializer
|
||||
|
||||
// https://sus.red/abc?a=b&c=d will break the styles, click event, hover events, everything
|
||||
.legacySection()
|
||||
|
||||
.toBuilder()
|
||||
|
||||
.extractUrls(
|
||||
|
||||
Reference in New Issue
Block a user