Skip to content

Commit 9a74ee3

Browse files
committed
[VirtualInput] Fix remap warnings when building
1 parent 9fe51d1 commit 9a74ee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/minecrafttas/tasmod/mixin/playbackhooks/MixinMinecraft.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ private static void playback_unpressAllKeys(GuiScreen guiScreen) {
172172
KeyBinding.unPressAllKeys();
173173
}
174174

175-
@Redirect(method = "displayGuiScreen", at = @At(value = "INVOKE", target = "Lorg/lwjgl/input/Mouse;next()Z"))
175+
@Redirect(method = "displayGuiScreen", at = @At(value = "INVOKE", target = "Lorg/lwjgl/input/Mouse;next()Z", remap = false))
176176
private static boolean playback_mouseNext(GuiScreen guiScreen) {
177177
if (guiScreen instanceof SubtickGuiScreen) {
178178
return false;
179179
}
180180
return Mouse.next();
181181
}
182182

183-
@Redirect(method = "displayGuiScreen", at = @At(value = "INVOKE", target = "Lorg/lwjgl/input/Keyboard;next()Z"))
183+
@Redirect(method = "displayGuiScreen", at = @At(value = "INVOKE", target = "Lorg/lwjgl/input/Keyboard;next()Z", remap = false))
184184
private static boolean playback_keyboardNext(GuiScreen guiScreen) {
185185
if (guiScreen instanceof SubtickGuiScreen) {
186186
return false;

0 commit comments

Comments
 (0)