Skip to content

Commit

Permalink
Fix datapack load. (Luohuayu#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiinaNene authored Dec 26, 2021
1 parent 2bce5d5 commit c9bb438
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/minecraftforge/common/ForgeHooks.java
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,7 @@ public static String getRegistryName(Class<? extends TileEntity> type)

public static boolean loadAdvancements(Map<ResourceLocation, Advancement.Builder> map)
{
CraftingHelper.init();
boolean errored = false;
setActiveModContainer(null);
Loader.instance().getActiveModList().forEach(ForgeHooks::loadFactories);
Expand Down

0 comments on commit c9bb438

Please sign in to comment.