From 79a4c2b00b1cb2e8108219916e05bb02917f3b9f Mon Sep 17 00:00:00 2001 From: Su5eD Date: Thu, 25 Jul 2024 14:05:56 +0200 Subject: [PATCH] Update to NeoForge 21.0.133 --- .../fabricmc/fabric/mixin/screen/MinecraftClientMixin.java | 4 ++-- ffapi.gradle.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/mixin/screen/MinecraftClientMixin.java b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/mixin/screen/MinecraftClientMixin.java index 1df9fa066..54bf44fea 100644 --- a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/mixin/screen/MinecraftClientMixin.java +++ b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/mixin/screen/MinecraftClientMixin.java @@ -66,7 +66,7 @@ private void onScreenRemoveBecauseStopping(CallbackInfo ci) { // Synthetic method in `tick` // These two injections should be caught by "Screen#wrapScreenError" if anything fails in an event and then rethrown in the crash report - @Inject(method = "lambda$tick$36", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/screens/Screen;tick()V")) + @Inject(method = "lambda$tick$35", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/screens/Screen;tick()V")) private void beforeScreenTick(CallbackInfo ci) { // Store the screen in a variable in case someone tries to change the screen during this before tick event. // If someone changes the screen, the after tick event will likely have class cast exceptions or an NPE. @@ -75,7 +75,7 @@ private void beforeScreenTick(CallbackInfo ci) { } // Synthetic method in `tick` - @Inject(method = "lambda$tick$36", at = @At("TAIL")) + @Inject(method = "lambda$tick$35", at = @At("TAIL")) private void afterScreenTick(CallbackInfo ci) { ScreenEvents.afterTick(this.tickingScreen).invoker().afterTick(this.tickingScreen); // Finally set the currently ticking screen to null diff --git a/ffapi.gradle.properties b/ffapi.gradle.properties index a81bc7f4c..92475a03a 100644 --- a/ffapi.gradle.properties +++ b/ffapi.gradle.properties @@ -4,7 +4,7 @@ fabric.loom.dontRemap=true implementationVersion=2.0.7 versionMc=1.21 -versionForge=21.0.57-beta +versionForge=21.0.133-beta versionForgifiedFabricLoader=2.5.24+0.15.10+1.21 versionFabricLoader=0.15.10