diff --git a/src/main/java/tconstruct/client/ArmorControls.java b/src/main/java/tconstruct/client/ArmorControls.java index 1b5f9d0c919..d11a5356455 100644 --- a/src/main/java/tconstruct/client/ArmorControls.java +++ b/src/main/java/tconstruct/client/ArmorControls.java @@ -85,13 +85,13 @@ private static KeyBinding[] getVanillaKeyBindings() { @SubscribeEvent public void mouseEvent(InputEvent.MouseInputEvent event) { - if (!Api.isLoaded()) + if (!Loader.isModLoaded("notenoughkeys")) this.checkKeys(); } @SubscribeEvent public void keyEvent(InputEvent.KeyInputEvent event) { - if (!Api.isLoaded()) + if (!Loader.isModLoaded("notenoughkeys")) this.checkKeys(); }