Updated to 2.6.4
Changed the ClickEvent constructor for the missing cloth error with the new ClickEvent#OpenFile
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user