From d17122a777b7d695a94e6757a9f4f0272d7f5653 Mon Sep 17 00:00:00 2001 From: Brady Date: Thu, 23 Aug 2018 17:01:51 -0500 Subject: [PATCH] Fix some mixins which referenced a non-obfuscated method --- src/main/java/baritone/launch/mixins/MixinGameSettings.java | 3 ++- src/main/java/baritone/launch/mixins/MixinGuiContainer.java | 3 ++- src/main/java/baritone/launch/mixins/MixinGuiScreen.java | 3 ++- src/main/java/baritone/launch/mixins/MixinMinecraft.java | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/baritone/launch/mixins/MixinGameSettings.java b/src/main/java/baritone/launch/mixins/MixinGameSettings.java index 2179affb..b68cce51 100755 --- a/src/main/java/baritone/launch/mixins/MixinGameSettings.java +++ b/src/main/java/baritone/launch/mixins/MixinGameSettings.java @@ -34,7 +34,8 @@ public class MixinGameSettings { method = "isKeyDown", at = @At( value = "INVOKE", - target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z" + target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z", + remap = false ) ) private static boolean isKeyDown(int keyCode) { diff --git a/src/main/java/baritone/launch/mixins/MixinGuiContainer.java b/src/main/java/baritone/launch/mixins/MixinGuiContainer.java index 6d37ab97..dd9bf715 100755 --- a/src/main/java/baritone/launch/mixins/MixinGuiContainer.java +++ b/src/main/java/baritone/launch/mixins/MixinGuiContainer.java @@ -37,7 +37,8 @@ public class MixinGuiContainer { }, at = @At( value = "INVOKE", - target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z" + target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z", + remap = false ) ) private boolean isKeyDown(int keyCode) { diff --git a/src/main/java/baritone/launch/mixins/MixinGuiScreen.java b/src/main/java/baritone/launch/mixins/MixinGuiScreen.java index 81bf1bf5..47877058 100755 --- a/src/main/java/baritone/launch/mixins/MixinGuiScreen.java +++ b/src/main/java/baritone/launch/mixins/MixinGuiScreen.java @@ -38,7 +38,8 @@ public class MixinGuiScreen { }, at = @At( value = "INVOKE", - target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z" + target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z", + remap = false ) ) private static boolean isKeyDown(int keyCode) { diff --git a/src/main/java/baritone/launch/mixins/MixinMinecraft.java b/src/main/java/baritone/launch/mixins/MixinMinecraft.java index f7bf4d36..653c233c 100755 --- a/src/main/java/baritone/launch/mixins/MixinMinecraft.java +++ b/src/main/java/baritone/launch/mixins/MixinMinecraft.java @@ -84,7 +84,8 @@ public class MixinMinecraft { method = "runTickKeyboard", at = @At( value = "INVOKE", - target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z" + target = "org/lwjgl/input/Keyboard.isKeyDown(I)Z", + remap = false ) ) private boolean Keyboard$isKeyDown(int keyCode) {