Skip to content

Commit

Permalink
Fix spotless?
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed Jan 18, 2025
1 parent ef75175 commit 3be3933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ public void addMixinConfigs() {
.forEach(file -> {
final String modId = file.getModInfos().get(0).getModId();
for (ModFileParser.MixinConfig potential : file.getMixinConfigs()) {
if (potential.requiredMods().stream().allMatch(
id -> this.getModFileById(id) != null
)) {
if (potential.requiredMods().stream().allMatch(id -> this.getModFileById(id) != null)) {
DeferredMixinConfigRegistration.addMixinConfig(potential.config(), modId);
} else {
LOGGER.debug("Mixin config {} for mod {} not applied as required mods are missing", potential.config(), modId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected static List<CoreModFile> getCoreMods(final ModFile modFile) {
/**
* Represents a potential mixin configuration.
*
* @param config The name of the mixin configuration.
* @param config The name of the mixin configuration.
* @param requiredMods The mod ids that are required for this mixin configuration to be loaded. If empty, will be loaded regardless.
*/
public record MixinConfig(String config, List<String> requiredMods) {}
Expand Down

0 comments on commit 3be3933

Please sign in to comment.