diff --git a/src/main/java/net/roryclaasen/rorysmod/register/Register.java b/src/main/java/net/roryclaasen/rorysmod/register/Register.java index c8d49f4..5d22205 100644 --- a/src/main/java/net/roryclaasen/rorysmod/register/Register.java +++ b/src/main/java/net/roryclaasen/rorysmod/register/Register.java @@ -30,6 +30,7 @@ import net.minecraftforge.oredict.ShapelessOreRecipe; import net.roryclaasen.rorysmod.core.RorysMod; import cpw.mods.fml.client.registry.RenderingRegistry; +import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.network.IGuiHandler; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.EntityRegistry; @@ -125,6 +126,13 @@ public static void registerEntities(Class entityClass, String public static void registerEventBus(Object target) { MinecraftForge.EVENT_BUS.register(target); event++; + + FMLCommonHandler.instance().bus().register(target); + } + + public static void registerFMLEvent(Object target) { + FMLCommonHandler.instance().bus().register(target); + event++; } public static void registerGUI(IGuiHandler handler) {