Merge pull request #17 from Silent-Client/TEST2

Update KeyBindManager.java
This commit is contained in:
kirillsaint 2023-08-05 02:18:28 +06:00 committed by GitHub
commit b67b5342d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ public class KeyBindManager {
if(SilentClientTweaker.hasOptifine) {
try {
this.unregisterKeybind(gameSettings, (KeyBinding) GameSettings.class.getField("ofKeyBindZoom").get(Minecraft.getMinecraft().gameSettings));
} catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) {
} catch (Exception e) {
e.printStackTrace();
}
}