Skip to content

Commit

Permalink
Fix late mixins not checking what side to load on
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Sep 8, 2023
1 parent b05e7c9 commit 4afb943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public List<String> getMixins(Set<String> loadedMods) {
}
LOGGER.info("Detected mods: [" + validMods.stream().map(TargetedMod::name).collect(Collectors.joining(", ")) + "]");
for(Mixin mixin : Mixin.values()) {
if(mixin.getPhase() == Mixin.Phase.LATE && mixin.getFilter().test(validMods))
if(mixin.getPhase() == Mixin.Phase.LATE && mixin.shouldLoadSide() && mixin.getFilter().test(validMods))
mixins.add(mixin.getMixin());
}
return mixins;
Expand Down

0 comments on commit 4afb943

Please sign in to comment.