mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Fix keybinding crash. Closes #344
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user