Skip to content

Commit

Permalink
1.20.5 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Jul 8, 2024
1 parent cdc7329 commit f946d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class NeoForgeMinecraftVRMixin {
@Shadow
private float pausePartialTick;

@Inject(at = @At(value = "INVOKE", target = "Lnet/neoforged/neoforge/event/EventHooks;onRenderTickEnd(F)V", shift = At.Shift.AFTER), method = "runTick", locals = LocalCapture.CAPTURE_FAILHARD)
@Inject(at = @At(value = "INVOKE", target = "Lnet/neoforged/neoforge/client/ClientHooks;fireRenderFramePost(F)V", shift = At.Shift.AFTER), method = "runTick", locals = LocalCapture.CAPTURE_FAILHARD)
public void vivecraft$renderVRPassesNeoForge(boolean renderLevel, CallbackInfo ci, long nanoTime) {
if (VRState.vrRunning) {
VRPassHelper.renderAndSubmit(renderLevel, nanoTime, this.pause ? this.pausePartialTick : this.timer.partialTick);
Expand Down
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ updateJSONURL = "https://raw.githubusercontent.com/Vivecraft/VivecraftMod/forge-
[[dependencies.vivecraft]]
modId = "neoforge"
type = "required"
versionRange = "[20.5.0-beta,)"
versionRange = "[20.5.14-beta,)"
ordering = "NONE"
side = "BOTH"

Expand Down

0 comments on commit f946d90

Please sign in to comment.