bump api recipe add requirement to before postinit

This commit is contained in:
Thiakil committed 2018-05-04 18:38:55 +08:00
1 parent 8b47891e1a
commit c51dc069c1
1 file changed
+1 -1
@@ -12,7 +12,7 @@ import net.minecraftforge.fml.common.LoaderState;
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