Skip to content

Commit

Permalink
Fix keybinding crash. Closes #344
Browse files Browse the repository at this point in the history
  • Loading branch information
williewillus committed Jun 17, 2016
1 parent 96bf873 commit ae0894a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public static String getKeyDisplayString(String keyName) {
KeyBinding[] keys = Minecraft.getMinecraft().gameSettings.keyBindings;
for(KeyBinding otherKey : keys)
if(otherKey.getKeyDescription().equals(keyName)) {
key = Keyboard.getKeyName(otherKey.getKeyCode());
key = otherKey.getDisplayName();
break;
}

Expand Down

0 comments on commit ae0894a

Please sign in to comment.