Fix swap offhand keybind not working in GUIs (#6920)

This commit is contained in:
sciwhiz12 2020-07-07 03:43:05 +08:00 committed by GitHub
parent ff86201523
commit 68ea1b654c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@
}
for(SoundCategory soundcategory : SoundCategory.values()) {
@@ -733,4 +739,22 @@
@@ -733,4 +739,21 @@
p_198017_1_.func_198985_a(set);
}
@ -58,6 +58,5 @@
+ field_74323_J.setKeyConflictContext(inGame);
+ field_151457_aa.setKeyConflictContext(inGame);
+ field_151458_ab.setKeyConflictContext(inGame);
+ field_186718_X.setKeyConflictContext(inGame);
+ }
}