Fix keybinding crash. Closes #344

This commit is contained in:
Vincent Lee committed 2016-06-16 19:24:12 -05:00
1 parent 96bf87333b
commit ae0894a8d0
1 file changed
+1 -1
@@ -241,7 +241,7 @@ public final class RenderHelper {
KeyBinding[] keys = Minecraft.getMinecraft().gameSettings.keyBindings;
for(KeyBinding otherKey : keys)
if(otherKey.getKeyDescription().equals(keyName)) {
key = Keyboard.getKeyName(otherKey.getKeyCode());
key = otherKey.getDisplayName();
break;
}