Allow URLs in chat again

This commit is contained in:
nossr50 2020-11-16 14:56:48 -08:00
parent 915855363d
commit db8086d6ad

View File

@ -117,7 +117,7 @@ public class TextUtils {
@NotNull
private static LegacyComponentSerializer getSerializer() {
return LegacyComponentSerializer.builder().hexColors().useUnusualXRepeatedCharacterHexFormat().character('&').hexCharacter('#').build();
return LegacyComponentSerializer.builder().hexColors().useUnusualXRepeatedCharacterHexFormat().character('&').hexCharacter('#').extractUrls().build();
}
public static @NotNull String sanitizeForSerializer(@NotNull String string) {