mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-22 05:53:43 +02:00 
			
		
		
		
	Allow URLs in chat again
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nossr50
					nossr50