From 25bd69eab42cf57cd97937785a28d7c12e729cf2 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 3 Apr 2020 23:11:59 +0200 Subject: [PATCH] possibly fix another mod ordering issue? --- src/main/java/de/ellpeck/naturesaura/NaturesAura.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/naturesaura/NaturesAura.java b/src/main/java/de/ellpeck/naturesaura/NaturesAura.java index c1fa1234..6b2c3b74 100644 --- a/src/main/java/de/ellpeck/naturesaura/NaturesAura.java +++ b/src/main/java/de/ellpeck/naturesaura/NaturesAura.java @@ -20,6 +20,7 @@ import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemStack; import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.fml.DeferredWorkQueue; import net.minecraftforge.fml.DistExecutor; import net.minecraftforge.fml.ModLoadingContext; import net.minecraftforge.fml.common.Mod; @@ -79,9 +80,9 @@ public final class NaturesAura { private void init(FMLCommonSetupEvent event) { ModConfig.instance.apply(); - ModRecipes.init(); ModRegistry.init(); DrainSpotEffects.init(); + DeferredWorkQueue.runLater(ModRecipes::init); proxy.init(event); }