mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Patching compatibility
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user