mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Move recipe registration to the Recipe Registry Event
This commit is contained in:
1 parent
704a9b50ae
commit
c042185eaa
3 files changed
+13
-14
No files matched your search
@@ -298,6 +298,8 @@ public class Mekanism {
|
||||
@SubscribeEvent
|
||||
public static void registerRecipes(RegistryEvent.Register<IRecipe> event) {
|
||||
event.getRegistry().register(new BinRecipe());
|
||||
addRecipes();
|
||||
OreDictManager.init();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -912,8 +914,6 @@ public class Mekanism {
|
||||
}
|
||||
|
||||
//Load this module
|
||||
addRecipes();
|
||||
OreDictManager.init();
|
||||
registerTileEntities();
|
||||
|
||||
//Integrate with Waila
|
||||
|
||||
Reference in new issue
Block a user