Skip to content

Commit

Permalink
Update to NeoForge 21.0.133
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Jul 25, 2024
1 parent 9579455 commit 79a4c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ffapi.gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79a4c2b

Please sign in to comment.