Skip to content

Commit

Permalink
Merge branch 'refs/heads/1.20.4' into 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetrain1 committed May 16, 2024
2 parents 81d594a + 52da51a commit f9d3b82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public boolean shouldApplyMixin(String targetClassName, @NotNull String mixinCla
MixinsConfig config = MixinsConfig.get();
boolean hasEmbeddium = FabricLoader.getInstance().isModLoaded("embeddium");
boolean disableNonSodium = hasEmbeddium || FrozenBools.HAS_SODIUM;
boolean enableSodium = FrozenBools.HAS_SODIUM && FabricLoader.getInstance().getModContainer("sodium").orElseThrow().getMetadata().getVersion().getFriendlyString().contains("0.5.");
boolean enableSodium = FrozenBools.HAS_SODIUM;
if (mixinClassName.contains("client.sodium")) {
return config.client_sodium && enableSodium && !hasEmbeddium;
} else if (mixinClassName.contains("client.embeddium")) {
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
"cloth-config": "*",
"terrablender": "*"
},
"breaks": {
"sodium": "<0.5.0"
},
"custom": {
"modmenu": {
"links": {
Expand Down

0 comments on commit f9d3b82

Please sign in to comment.