mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 21:54:08 +00:00
Update VersionChecker.java
This commit is contained in:
1 parent
fdb3fe1e35
commit
00f6308666
1 file changed
+2
-2
@@ -17,7 +17,7 @@ public class VersionChecker extends Thread{
|
||||
|
||||
}
|
||||
public void run(){
|
||||
String name = '\u00A7'+ "2CustomNpcs" + '\u00A7' + "f";
|
||||
String name = '\u00A7'+ "cCustomNPC+" + '\u00A7' + "f";
|
||||
String link = '\u00A7'+"9"+'\u00A7' + "nClick here";
|
||||
String text = name +" installed. For more info " + link;
|
||||
|
||||
@@ -36,7 +36,7 @@ public class VersionChecker extends Thread{
|
||||
}
|
||||
}
|
||||
ChatComponentTranslation message = new ChatComponentTranslation(text);
|
||||
message.getChatStyle().setChatClickEvent(new ClickEvent(Action.OPEN_URL, "http://www.kodevelopment.nl/minecraft/customnpcs/"));
|
||||
message.getChatStyle().setChatClickEvent(new ClickEvent(Action.OPEN_URL, "https://www.curseforge.com/minecraft/mc-mods/customnpc-plus"));
|
||||
player.addChatMessage(message);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user