Skip to content

Commit

Permalink
Adds exception for the hopper optimization fork of Lithium.
Browse files Browse the repository at this point in the history
  • Loading branch information
Haven-King committed Mar 23, 2021
1 parent 586f7b2 commit 6e2ef64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Fabric Properties
minecraft_version = 1.16.5
yarn_mappings = 1.16.5+build.4
loader_version = 0.11.1
loader_version = 0.11.3

# Mod Properties
mod_version = 1.0.1
mod_version = 1.0.2
maven_group = dev.hephaestus
archives_base_name = FibLib

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ public String getRefMapperConfig() {
@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
FabricLoader loader = FabricLoader.getInstance();

if (targetClassName.startsWith("me.jellysquid.mods.lithium")) {
return loader.isModLoaded("lithium");
return loader.isModLoaded("lithium") || loader.isModLoaded("hopperoptimizations-lithium");
}

if (loader.isModLoaded("immersive_portals")) {
Expand Down

0 comments on commit 6e2ef64

Please sign in to comment.