Fix advanced screenshot GUI not opening on 1.17.1 (fixes #559)

This commit is contained in:
Jonas Herzig
2021-08-15 16:51:37 +02:00
parent b243dfc625
commit 82c7da8739

View File

@@ -27,7 +27,9 @@ public abstract class MixinKeyboardListener {
//#endif
at = @At(
value = "INVOKE",
//#if MC>=11400
//#if MC>=11701
//$$ target = "Lnet/minecraft/client/util/ScreenshotRecorder;saveScreenshot(Ljava/io/File;Lnet/minecraft/client/gl/Framebuffer;Ljava/util/function/Consumer;)V"
//#elseif MC>=11400
target = "Lnet/minecraft/client/util/ScreenshotUtils;saveScreenshot(Ljava/io/File;IILnet/minecraft/client/gl/Framebuffer;Ljava/util/function/Consumer;)V"
//#else
//#if MC>=11400