Skip to content

Commit

Permalink
Temporary Debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTemportalist committed Nov 11, 2014
1 parent 514e2e6 commit f410c0b
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 @@ -97,6 +97,7 @@ public void keyEvent(InputEvent.KeyInputEvent event) {

@SubscribeEvent
public void keyEventSpecial(KeyBindingPressedEvent event) {
TConstruct.logger.info("binding event received");
this.keyPressed(event.keyBinding);
}

Expand All @@ -116,6 +117,7 @@ private boolean isKeyActive(int keyCode) {
}

private void keyPressed(KeyBinding key) {
TConstruct.logger.info("keyPressed " + key.getKeyDescription());
if (key == ArmorControls.armorKey) {
openArmorGui();
}
Expand Down

0 comments on commit f410c0b

Please sign in to comment.