Fix incorrect keybinding modifiers patch. Closes #6478
This commit is contained in:
parent
d391299340
commit
69ae178bf4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
public static void func_197981_a(InputMappings.Input p_197981_0_) {
|
public static void func_197981_a(InputMappings.Input p_197981_0_) {
|
||||||
- KeyBinding keybinding = field_74514_b.get(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) {
|
if (keybinding != null) {
|
||||||
++keybinding.field_151474_i;
|
++keybinding.field_151474_i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue