|
|
|
@ -80,7 +80,7 @@ public final class CraftChatMessage {
|
|
|
|
|
currentChatComponent = null; |
|
|
|
|
break; |
|
|
|
|
case 3: |
|
|
|
|
if (URI.create(match).getScheme() == null) { |
|
|
|
|
if (match.indexOf("://") < 0) { |
|
|
|
|
match = "http://" + match; |
|
|
|
|
} |
|
|
|
|
modifier.setChatClickEvent(new net.minecraft.event.ClickEvent(net.minecraft.event.ClickEvent.Action.OPEN_URL, match)); // Should be setChatClickable
|
|
|
|
|