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
|
//#endif
|
||||||
at = @At(
|
at = @At(
|
||||||
value = "INVOKE",
|
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"
|
target = "Lnet/minecraft/client/util/ScreenshotUtils;saveScreenshot(Ljava/io/File;IILnet/minecraft/client/gl/Framebuffer;Ljava/util/function/Consumer;)V"
|
||||||
//#else
|
//#else
|
||||||
//#if MC>=11400
|
//#if MC>=11400
|
||||||
|
|||||||
Reference in New Issue
Block a user