Patching compatibility

This commit is contained in:
TheTemporatlist committed 2014-11-11 17:01:15 -05:00
1 parent fb59d7c244
commit 6fa032fe2d
3 files changed
+18 -23

No files matched your search

@@ -1,6 +1,7 @@
package tconstruct.client;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.InputEvent;
import mantle.common.network.AbstractPacket;
@@ -68,7 +69,7 @@ public class ArmorControls {
if (key != null)
ClientRegistry.registerKeyBinding(key);
}
if (Api.isLoaded())
if (Loader.isModLoaded("notenoughkeys"))
Api.registerMod(TConstruct.modID, ArmorControls.keyDescs);
// Add mc keys
this.keys[4] = ArmorControls.jumpKey;