Skip to content

Commit

Permalink
bump api recipe add requirement to before postinit
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed May 4, 2018
1 parent 8b47891 commit c51dc06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mekanism/common/recipe/APIHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public class APIHandler implements MekanismRecipeHelper {
private static void checkPhase(){
Preconditions.checkState(Loader.instance().getLoaderState().ordinal() < LoaderState.INITIALIZATION.ordinal(), "Recipes should be registered before Init. Try net.minecraftforge.event.RegistryEvent.Register<IRecipe>");
Preconditions.checkState(Loader.instance().getLoaderState().ordinal() < LoaderState.POSTINITIALIZATION.ordinal(), "Recipes should be registered before PostInit. Try net.minecraftforge.event.RegistryEvent.Register<IRecipe>");
}

@Override
Expand Down

0 comments on commit c51dc06

Please sign in to comment.