diff --git a/gradle.properties b/gradle.properties index e0b8845..30ba0c7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,5 +3,5 @@ org.gradle.jvmargs=-Xmx4G mc_version=1.11.2 forge_version=13.20.1.2425 -mod_version=1.4 +mod_version=1.4.1 mappings_version=snapshot_20170612 diff --git a/src/main/java/me/jacky1356400/exchangers/Exchangers.java b/src/main/java/me/jacky1356400/exchangers/Exchangers.java index c31854e..1d27496 100644 --- a/src/main/java/me/jacky1356400/exchangers/Exchangers.java +++ b/src/main/java/me/jacky1356400/exchangers/Exchangers.java @@ -12,7 +12,7 @@ @Mod(modid = Exchangers.MODID, version = Exchangers.VERSION, name = Exchangers.MODNAME, dependencies = Exchangers.DEPENDS, useMetadata = true) public class Exchangers { - public static final String VERSION = "1.11.2-1.4"; + public static final String VERSION = "1.11.2-1.4.1"; public static final String MODID = "exchangers"; public static final String MODNAME = "Exchangers"; public static final String PREFIX = MODID + "."; diff --git a/src/main/java/me/jacky1356400/exchangers/proxy/ClientProxy.java b/src/main/java/me/jacky1356400/exchangers/proxy/ClientProxy.java index b4873d3..2d466fd 100644 --- a/src/main/java/me/jacky1356400/exchangers/proxy/ClientProxy.java +++ b/src/main/java/me/jacky1356400/exchangers/proxy/ClientProxy.java @@ -4,6 +4,7 @@ import me.jacky1356400.exchangers.client.Keys; import me.jacky1356400.exchangers.handler.GUIHandler; import me.jacky1356400.exchangers.handler.KeyBindingsHandler; +import me.jacky1356400.exchangers.handler.RenderOverlayHandler; import net.minecraft.client.Minecraft; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.event.FMLInitializationEvent; @@ -23,6 +24,7 @@ public void init(FMLInitializationEvent e){ super.init(e); MinecraftForge.EVENT_BUS.register(new KeyBindingsHandler()); Keys.init(); + MinecraftForge.EVENT_BUS.register(new RenderOverlayHandler()); } @Override diff --git a/src/main/java/me/jacky1356400/exchangers/proxy/CommonProxy.java b/src/main/java/me/jacky1356400/exchangers/proxy/CommonProxy.java index f198ccd..2b7e025 100644 --- a/src/main/java/me/jacky1356400/exchangers/proxy/CommonProxy.java +++ b/src/main/java/me/jacky1356400/exchangers/proxy/CommonProxy.java @@ -4,12 +4,10 @@ import me.jacky1356400.exchangers.Exchangers; import me.jacky1356400.exchangers.ExchangersItems; import me.jacky1356400.exchangers.Recipes; -import me.jacky1356400.exchangers.handler.RenderOverlayHandler; import me.jacky1356400.exchangers.handler.network.PacketHandler; import me.jacky1356400.exchangers.integration.EnderIOIntegration; import me.jacky1356400.exchangers.integration.MekanismIntegration; import me.jacky1356400.exchangers.integration.ThermalExpansionIntegration; -import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.fml.common.Loader; import net.minecraftforge.fml.common.event.FMLInitializationEvent; @@ -46,8 +44,7 @@ public void preInit(FMLPreInitializationEvent e){ PacketHandler.registerMessages(Exchangers.MODID); } - public void init(FMLInitializationEvent e){ - MinecraftForge.EVENT_BUS.register(new RenderOverlayHandler()); + public void init(FMLInitializationEvent e) { } public void postInit(FMLPostInitializationEvent e) { diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index ab760d7..982e675 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -3,7 +3,7 @@ "modid": "exchangers", "name": "Exchangers", "description": "Block Exchangers.", - "version": "1.11.2-1.4", + "version": "1.11.2-1.4.1", "mcversion": "1.11.2", "url": "https://github.com/Jacky1356400/Exchangers", "updateUrl": "",