diff --git a/src/main/java/kubatech/ClientProxy.java b/src/main/java/kubatech/ClientProxy.java index f14ce56e..ca6f670d 100644 --- a/src/main/java/kubatech/ClientProxy.java +++ b/src/main/java/kubatech/ClientProxy.java @@ -11,6 +11,7 @@ package kubatech; import kubatech.api.utils.ModUtils; +import kubatech.loaders.MobRecipeLoader; import kubatech.nei.IMCForNEI; import cpw.mods.fml.common.event.*; @@ -53,5 +54,6 @@ public void serverStopped(FMLServerStoppedEvent event) { public void loadComplete(FMLLoadCompleteEvent event) { super.loadComplete(event); + MobRecipeLoader.generateMobRecipeMap(); } } diff --git a/src/main/java/kubatech/CommonProxy.java b/src/main/java/kubatech/CommonProxy.java index db62bf7c..a93d5991 100644 --- a/src/main/java/kubatech/CommonProxy.java +++ b/src/main/java/kubatech/CommonProxy.java @@ -17,7 +17,6 @@ import kubatech.commands.*; import kubatech.config.Config; import kubatech.loaders.MTLoader; -import kubatech.loaders.MobRecipeLoader; import kubatech.loaders.RecipeLoader; import kubatech.loaders.TCLoader; import kubatech.savedata.PlayerDataManager; @@ -67,7 +66,5 @@ public void serverStopping(FMLServerStoppingEvent event) {} public void serverStopped(FMLServerStoppedEvent event) {} - public void loadComplete(FMLLoadCompleteEvent event) { - MobRecipeLoader.generateMobRecipeMap(); - } + public void loadComplete(FMLLoadCompleteEvent event) {} } diff --git a/src/main/java/kubatech/loaders/RecipeLoader.java b/src/main/java/kubatech/loaders/RecipeLoader.java index d7a4d528..53ae79de 100644 --- a/src/main/java/kubatech/loaders/RecipeLoader.java +++ b/src/main/java/kubatech/loaders/RecipeLoader.java @@ -161,6 +161,7 @@ public static void addRecipesLate() { if (lateRecipesInitialized) return; lateRecipesInitialized = true; + MobRecipeLoader.generateMobRecipeMap(); MobRecipeLoader.processMobRecipeMap(); }