From 00f63086663126a13007372b6d7b5dd42533a3b7 Mon Sep 17 00:00:00 2001 From: KAMKEEL Date: Sat, 26 Nov 2022 02:51:09 -0500 Subject: [PATCH 1/2] Update VersionChecker.java --- src/main/java/noppes/npcs/client/VersionChecker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/noppes/npcs/client/VersionChecker.java b/src/main/java/noppes/npcs/client/VersionChecker.java index 01dbdfdae..fd8abb0e8 100644 --- a/src/main/java/noppes/npcs/client/VersionChecker.java +++ b/src/main/java/noppes/npcs/client/VersionChecker.java @@ -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); } } From 4226fcf0e17221958b62f438e4d8ff6f396788c5 Mon Sep 17 00:00:00 2001 From: KAMKEEL Date: Sat, 26 Nov 2022 03:11:38 -0500 Subject: [PATCH 2/2] Update Config --- src/main/java/noppes/npcs/CustomNpcs.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/noppes/npcs/CustomNpcs.java b/src/main/java/noppes/npcs/CustomNpcs.java index 3a02cb530..2ff7e76ee 100644 --- a/src/main/java/noppes/npcs/CustomNpcs.java +++ b/src/main/java/noppes/npcs/CustomNpcs.java @@ -33,7 +33,6 @@ import noppes.npcs.scripted.NpcAPI; import java.io.File; import java.util.ArrayList; import java.util.Set; -import java.util.Timer; import java.util.UUID; @Mod(modid = "customnpcs", name = "CustomNpcs", version = "1.7") @@ -48,8 +47,8 @@ public class CustomNpcs { public static boolean ScriptingEnabled = true; @ConfigProp(info = "Enables/Disables the use of the the ECMA6 Javascript standard instead of ECMA5.1." + - "\nEnabling this adds many more features to JS in scripts, but may cause some scripts to break" + - "\non servers that run Java 8 or lower. Disabled by default.") + "\nEnabling this adds many more features to JS in scripts. Only use if on Java 8 or higher." + + "\nNot all ECMA 6 language is supported through this functionality.") public static boolean ScriptingECMA6 = false; @ConfigProp(info = "Enables global player event scripts to be used in the scripter. You can still see and write code in the scripter, but these scripts won't run. True by default.")