diff --git a/src/main/java/tconstruct/client/ArmorControls.java b/src/main/java/tconstruct/client/ArmorControls.java index 1b5f9d0c..d11a5356 100644 --- a/src/main/java/tconstruct/client/ArmorControls.java +++ b/src/main/java/tconstruct/client/ArmorControls.java @@ -85,13 +85,13 @@ public class ArmorControls { @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(); }