Skip to content

Commit

Permalink
Update CraftingHelper.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecdcaeb authored Feb 24, 2024
1 parent eed9f3e commit 3cac1ad
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,10 @@ else if (revertFrozen)
//ModContainer old = Loader.instance().activeModContainer();
Loader.instance().setActiveModContainer(null);
Loader.instance().getActiveModList().forEach(CraftingHelper::loadFactories);
MinecraftForge.EVENT_BUS.post(new CraftingFactoriesRegisterEvent(conditions, ingredients, recipes));
Loader.instance().getActiveModList().forEach(CraftingHelper::loadRecipes);
Loader.instance().setActiveModContainer(null);

MinecraftForge.EVENT_BUS.post(new CraftingFactoriesRegisterEvent(conditions, ingredients, recipes));

GameData.fireRegistryEvents(rl -> rl.equals(GameData.RECIPES));

//reg.freeze();
Expand Down

0 comments on commit 3cac1ad

Please sign in to comment.