Fix advanced screenshot GUI not opening on 1.17.1 (fixes #559)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user