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());
}