Skip to content

Commit

Permalink
Should fix the crash in the control screen. The armor class wouldnt c…
Browse files Browse the repository at this point in the history
…ompile correctly because it couldnt find the event class for NEK
  • Loading branch information
TheTemportalist committed Nov 13, 2014
1 parent fc264cc commit c54250b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/tconstruct/client/ArmorControls.java
Expand Up @@ -2,6 +2,7 @@

import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.Optional;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.InputEvent;
import mantle.common.network.AbstractPacket;
Expand Down Expand Up @@ -95,6 +96,7 @@ public void keyEvent(InputEvent.KeyInputEvent event) {
this.checkKeys();
}

@Optional.Method(modid = "notenoughkeys")
@SubscribeEvent
public void keyEventSpecial(KeyBindingPressedEvent event) {
this.keyPressed(event.keyBinding);
Expand Down

0 comments on commit c54250b

Please sign in to comment.