Skip to content

Commit

Permalink
Revert "Disable computer help providers until yaml-ops is updated to …
Browse files Browse the repository at this point in the history
…account for the breaking changes to DFU"

This reverts commit fd7281f.
  • Loading branch information
thiakil committed Apr 28, 2024
1 parent 93fc2e6 commit 85eb019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import mekanism.client.texture.MekanismSpriteSourceProvider;
import mekanism.client.texture.PrideRobitTextureProvider;
import mekanism.common.advancements.MekanismAdvancementProvider;
import mekanism.common.integration.computer.ComputerHelpProvider;
import mekanism.common.loot.MekanismLootProvider;
import mekanism.common.recipe.impl.MekanismRecipeProvider;
import mekanism.common.registries.MekanismDatapackRegistryProvider;
Expand Down Expand Up @@ -64,8 +65,7 @@ public static void gatherData(GatherDataEvent event) {
MekanismRecipeProvider recipeProvider = new MekanismRecipeProvider(output, lookupProvider, existingFileHelper);
gen.addProvider(event.includeServer(), recipeProvider);
gen.addProvider(event.includeServer(), new MekanismAdvancementProvider(output, lookupProvider, existingFileHelper));
//TODO - 1.20.5: Re-enable this after thiakil updates yaml-ops
//gen.addProvider(event.includeServer(), new ComputerHelpProvider(output, Mekanism.MODID));
gen.addProvider(event.includeServer(), new ComputerHelpProvider(output, Mekanism.MODID));
//Data generator to help with persisting data when porting across MC versions when optional deps aren't updated yet
// DO NOT ADD OTHERS AFTER THIS ONE
PersistingDisabledProvidersProvider.addDisableableProviders(event, lookupProvider, recipeProvider.getDisabledCompats());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ public static void addDisableableProviders(GatherDataEvent event, CompletableFut
ModList modList = ModList.get();
Set<String> pathsToSkip = new HashSet<>();
List<String> fakeProviders = new ArrayList<>();
//TODO - 1.20.5: Remove this after thiakil updates yaml-ops
pathsToSkip.add("/computer_help/");
fakeProviders.add("ComputerHelp: mekanism");
if (modList.isLoaded(MekanismHooks.PROJECTE_MOD_ID)) {
gen.addProvider(event.includeServer(), new MekanismCustomConversions(output, lookupProvider));
} else {
Expand Down

0 comments on commit 85eb019

Please sign in to comment.