Skip to content

Commit

Permalink
Defer ore dict smeltery recipes until postInit
Browse files Browse the repository at this point in the history
We can't be sure the ore dictionary has been fully registered by other mods due to load order, so we should wait until postInit to ensure it has all registrations, otherwise some ore dictionary items may not get registered.
  • Loading branch information
Techjar committed Sep 13, 2014
1 parent 593af6b commit 778c764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/smeltery/TinkerSmeltery.java
Expand Up @@ -754,12 +754,12 @@ public void init (FMLInitializationEvent event)
addRecipesForSmeltery();
addRecipesForTableCasting();
addRecipesForBasinCasting();
addOreDictionarySmelteryRecipes();
}

@Handler
public void postInit (FMLPostInitializationEvent evt)
{
addOreDictionarySmelteryRecipes();
modIntegration();
}

Expand Down

0 comments on commit 778c764

Please sign in to comment.