diff --git a/CHANGELOG.md b/CHANGELOG.md index 60b2bcc..874d5b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ ### What's new: -* Added compat with `cracker-util-recipe-book` -* Changed the way RecipeBookGroup is extended. Now it resembles `cracker-util` versions. -* Added a little exception handling. - -Supports: Minecraft 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 +* Added compat with `dark-matter-recipe-book` diff --git a/gradle.properties b/gradle.properties index 475a913..cf6e3c0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,6 +6,6 @@ minecraft_version=1.18 yarn_mappings=1.18+build.1 loader_version=0.14.8 # Mod Properties -mod_version=0.9.0-1.18 +mod_version=0.9.1-1.18 maven_group=me.melontini archives_base_name=recipe-book-is-pain diff --git a/src/main/java/me/melontini/recipebookispain/mixin/MixinConfigPlugin.java b/src/main/java/me/melontini/recipebookispain/mixin/MixinConfigPlugin.java index c2cccf7..304f99c 100644 --- a/src/main/java/me/melontini/recipebookispain/mixin/MixinConfigPlugin.java +++ b/src/main/java/me/melontini/recipebookispain/mixin/MixinConfigPlugin.java @@ -31,7 +31,7 @@ public boolean shouldApplyMixin(String targetClassName, String mixinClassName) { if (mixinClassName.contains("MouseWheelieCompatMixin") && !FabricLoader.getInstance().isModLoaded("mousewheelie")) { return false; } - if ((mixinClassName.contains("widget.RecipeGroupButtonMixin") || mixinClassName.contains("widget.RecipeBookWidgetMixin")) && FabricLoader.getInstance().isModLoaded("cracker-util-recipe-book")) { + if ((mixinClassName.contains("widget.RecipeGroupButtonMixin") || mixinClassName.contains("widget.RecipeBookWidgetMixin")) && (FabricLoader.getInstance().isModLoaded("cracker-util-recipe-book") || FabricLoader.getInstance().isModLoaded("dark-matter-recipe-book"))) { LOGGER.warn("[RBIP] CrackerUtil Recipe Book is loaded, skipping {} application", strings[strings.length - 1]); return false; }