Skip to content

Commit

Permalink
Fix build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkhax committed Mar 11, 2024
1 parent 9f15625 commit 9526dc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ private void injectPackRepositories(AddPackFindersEvent event) {

case CLIENT_RESOURCES -> {

event.addRepositorySource(new OpenLoaderRepositorySource(RepoType.RESOURCES, config.resourcePacks, configDir, config.appendSourceToPacks));
event.addRepositorySource(new OpenLoaderRepositorySource(RepoType.RESOURCES, config.resourcePacks, configDir, config));
}

case SERVER_DATA -> {

event.addRepositorySource(new OpenLoaderRepositorySource(RepoType.DATA, config.dataPacks,configDir, config.appendSourceToPacks));
event.addRepositorySource(new OpenLoaderRepositorySource(RepoType.DATA, config.dataPacks,configDir, config));
}

default -> Constants.LOG.warn("Encountered unknown pack type {}. Nothing will be loaded for this type.", event.getPackType().name());
Expand Down

0 comments on commit 9526dc1

Please sign in to comment.