mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
bump api recipe add requirement to before postinit
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user