aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Rinke <develop@torui.de>2021-11-05 23:18:01 +0100
committerFlorian Rinke <develop@torui.de>2021-11-05 23:18:01 +0100
commit7c1eb7049159f0011f138c02788b2b630f5480a1 (patch)
tree8295a370afc813e208847c09f3c22da3447772e9
parente45c77e7bae2bc6250b31d1d8e01bab75d7966ed (diff)
downloadCOFL-7c1eb7049159f0011f138c02788b2b630f5480a1.tar.gz
COFL-7c1eb7049159f0011f138c02788b2b630f5480a1.tar.bz2
COFL-7c1eb7049159f0011f138c02788b2b630f5480a1.zip
added link
-rw-r--r--src/main/java/de/torui/coflsky/network/WSClientWrapper.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/de/torui/coflsky/network/WSClientWrapper.java b/src/main/java/de/torui/coflsky/network/WSClientWrapper.java
index 21f494f..f1ca25b 100644
--- a/src/main/java/de/torui/coflsky/network/WSClientWrapper.java
+++ b/src/main/java/de/torui/coflsky/network/WSClientWrapper.java
@@ -69,11 +69,13 @@ public class WSClientWrapper {
Minecraft.getMinecraft().thePlayer.addChatMessage(
new ChatComponentText("Cofl could not establish a connection to any server!"+
- "\nIf you think this is a bug. Please report it on our Discord and include the logs!")
+ "\nIf you think this is a bug. Please report it on our Discord and include the ")
.setChatStyle(new ChatStyle().setColor(EnumChatFormatting.RED))
- /*.appendSibling(new ChatComponentText("logs")
+ .appendSibling(new ChatComponentText("logs!")
.setChatStyle(new ChatStyle()
- .setChatClickEvent(new ClickEvent(Action.OPEN_URL, ""))))*/);
+ .setUnderlined(true)
+ .setColor(EnumChatFormatting.BLUE)
+ .setChatClickEvent(new ClickEvent(Action.OPEN_URL, "https://www.youtube.com/watch?v=9Kb29wEcMcs")))));
return false;
//throw new Error("Could not connect to any websocket remote!");