From b9d992ba9bc8704ec8ed1b819da715a024088ecd Mon Sep 17 00:00:00 2001 From: TexTrue <3140846162@qq.com> Date: Sat, 3 Aug 2024 16:22:11 +0800 Subject: [PATCH] update MaFgLib --- gradle/libs.versions.toml | 6 +++--- .../java/org/thinkingstudio/forgematica/Forgematica.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a3299ed..d29b9e1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,10 +6,10 @@ minecraft-range="1.21" minecraft_version="1.21" yarn_mappings="1.21+build.2" mappings_patch="1.21+build.4" -neoforge="21.0.133-beta" +neoforge="21.0.148" # Mod properties -version="0.1.8" +version="0.1.9" maven-group="org.thinkingstudio.forgematica" archives-name="Forgematica" @@ -18,7 +18,7 @@ id-modrinth="dCKRaeBC" id-curseforge="912441" # Mod dependencies -mafglib="0.1.19-mc1.21" +mafglib="0.1.20-mc1.21" badpackets="neo-0.8.1" # Libraries diff --git a/src/main/java/org/thinkingstudio/forgematica/Forgematica.java b/src/main/java/org/thinkingstudio/forgematica/Forgematica.java index d72d75c..65a9311 100644 --- a/src/main/java/org/thinkingstudio/forgematica/Forgematica.java +++ b/src/main/java/org/thinkingstudio/forgematica/Forgematica.java @@ -15,7 +15,7 @@ public Forgematica(ModContainer modContainer) { if (FMLLoader.getDist().isClient()) { Litematica.onInitialize(); - NeoUtils.getInstance().registerModConfigScreen(modContainer, (screen) -> { + NeoUtils.getInstance().registerConfigScreen(modContainer, (screen) -> { GuiConfigs gui = new GuiConfigs(); gui.setParent(screen); return gui;