Fix some mixins which referenced a non-obfuscated method

This commit is contained in:
Brady 2018-08-23 17:01:51 -05:00
parent 559bc46702
commit d17122a777
No known key found for this signature in database
GPG Key ID: 73A788379A197567
4 changed files with 8 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {