Skip to content

Commit

Permalink
Compat with Cardboard(Just can run with Cardboard)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdog5734 committed Oct 19, 2024
1 parent ff5416b commit 35a0820
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public String getRefMapperConfig() {

@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
// Banner start - compat for arclight
if (FabricLoader.getInstance().isModLoaded("arclight")) {
// Banner start - compat for arclight and cardboard
if (FabricLoader.getInstance().isModLoaded("arclight") || FabricLoader.getInstance().isModLoaded("cardboard")) {
return false;
}
// Banner end
Expand Down

0 comments on commit 35a0820

Please sign in to comment.