Skip to content

Commit

Permalink
v1.4: Add rubidium support
Browse files Browse the repository at this point in the history
  • Loading branch information
someaddons committed Feb 23, 2022
1 parent e6b1390 commit d3d8b5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G -Djava.net.preferIPv4Stack=true
org.gradle.daemon=false
mod_version=1.3
mod_version=1.4
modid=betterfpsdist
mc_version=1.18
forge_version=38.0.12
mappings_version=1.18
mc_version=1.18.1
forge_version=39.0.59
mappings_version=1.18.1
mappings_channel=official
2 changes: 2 additions & 0 deletions src/main/java/com/betterfpsdist/mixin/MixinConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ public boolean shouldApplyMixin(final String targetClassName, final String mixin
if (mixinClassName.equals("com.betterfpsdist.mixin.LevelRendererMixin"))
{
return FMLLoader.getLoadingModList().getModFileById("magnesium") == null &&
FMLLoader.getLoadingModList().getModFileById("rubidium") == null &&
FMLLoader.getLoadingModList().getModFileById("sodium") == null;
}

return FMLLoader.getLoadingModList().getModFileById("magnesium") != null ||
FMLLoader.getLoadingModList().getModFileById("rubidium") != null ||
FMLLoader.getLoadingModList().getModFileById("sodium") != null;
}

Expand Down

0 comments on commit d3d8b5a

Please sign in to comment.