Fix incorrect keybinding modifiers patch. Closes #6478

This commit is contained in:
LexManos 2020-01-29 11:57:10 -08:00
parent d391299340
commit 69ae178bf4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
public static void func_197981_a(InputMappings.Input p_197981_0_) {
- KeyBinding keybinding = field_74514_b.get(p_197981_0_);
+ for (KeyBinding keybinding : field_74514_b.lookupAll(p_197981_0_))
+ KeyBinding keybinding = field_74514_b.lookupActive(p_197981_0_);
if (keybinding != null) {
++keybinding.field_151474_i;
}