Skip to content

Commit

Permalink
dark-matter thing
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Jun 29, 2023
1 parent 5763a3d commit f4d0c13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f4d0c13

Please sign in to comment.