Updated to 2.6.4

Changed the ClickEvent constructor for the missing cloth error with the new ClickEvent#OpenFile
This commit is contained in:
2025-04-01 02:03:05 +02:00
parent 192735d352
commit bd205b5ae6
2 changed files with 8 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ public class Client {
.append(Component
.literal("Open Config")
.withStyle(ChatFormatting.UNDERLINE)
.withStyle((style) -> style.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_FILE, Config.getConfigPath())))
.withStyle((style) -> style.withClickEvent(new ClickEvent.OpenFile(Config.getConfigPath())))
), false);
LOGGER.warn(Component.translatable("speedometer.error.missing_cloth").getString());
}

View File

@@ -1,29 +1,29 @@
org.gradle.jvmargs=-Xmx8G
minecraft_version=1.21.4
minecraft_version=1.21.5
archives_base_name=speedometer
mod_version=6.2.3
mod_version=6.2.4
maven_group=me.zacharias
# https://modrinth.com/mod/architectury-api/versions
architectury_version=15.0.3
architectury_version=16.0.3
# https://modrinth.com/mod/cloth-config/versions
cloth_config_version = 17.0.144
cloth_config_version = 18.0.145
# NeoForged Only
# https://neoforged.net/
neoforge_version = 21.4.123
neoforge_version = 21.5.14-beta
# Fabric Only
# https://fabricmc.net/develop/
fabric_loader_version=0.16.10
fabric_api_version=0.119.2
fabric_api_version=0.119.6
# Fabric Only
# https://modrinth.com/mod/modmenu/versions
modmenu_version = 13.0.3
modmenu_version = 14.0.0-rc.2
# Version of the org.json json library
json_version = 20240303