From 44e0d8dd548e41cd456e3271dcf392c1ce3d6bfb Mon Sep 17 00:00:00 2001 From: medisant Date: Wed, 10 Jan 2024 21:12:15 +0100 Subject: [PATCH] update to 1.20.4 --- build.gradle | 2 +- gradle.properties | 8 ++++---- .../advancedchatfilters/scripting/util/TextBuilder.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 9932719..6524266 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ dependencies { modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}" modImplementation "fi.dy.masa.malilib:malilib-fabric-1.20.2:${project.malilib_version}" //modImplementation "com.github.DarkKronicle:AdvancedChatCore:${project.advancedchat_version}" - modImplementation "io.github.darkkronicle:AdvancedChatCore:1.20.2-1.5.10" // only used to build the mod locally + modImplementation "io.github.darkkronicle:AdvancedChatCore:1.20.4-1.5.10" // only used to build the mod locally implementation 'org.openjdk.nashorn:nashorn-core:15.3' implementation 'org.javadelight:delight-nashorn-sandbox:0.2.5' diff --git a/gradle.properties b/gradle.properties index bc4276b..4aab7cb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ -minecraft_version=1.20.2 -yarn_mappings=1.20.2+build.4 -loader_version=0.14.24 -fabric_api_version=0.90.4+1.20.2 +minecraft_version=1.20.4 +yarn_mappings=1.20.4+build.3 +loader_version=0.15.3 +fabric_api_version=0.92.0+1.20.4 mod_version=1.2.8 maven_group=io.github.darkkronicle diff --git a/src/main/java/io/github/darkkronicle/advancedchatfilters/scripting/util/TextBuilder.java b/src/main/java/io/github/darkkronicle/advancedchatfilters/scripting/util/TextBuilder.java index e5944d6..1d624a0 100644 --- a/src/main/java/io/github/darkkronicle/advancedchatfilters/scripting/util/TextBuilder.java +++ b/src/main/java/io/github/darkkronicle/advancedchatfilters/scripting/util/TextBuilder.java @@ -157,7 +157,7 @@ public TextBuilder concatenate(String content) { * @param value Content of that action */ public TextBuilder setClickEvent(String action, String value) { - ClickEvent.Action clickAction = ClickEvent.Action.byName(action); + ClickEvent.Action clickAction = ClickEvent.Action.valueOf(action); if (!clickAction.isUserDefinable()) { return this; }