Skip to content

Commit 24cae3f

Browse files
committed
Fix issues with various rendering modules (tracers, trajectories, etc.) caused by the wrong value getting captured as the tickDelta
1 parent 3406d2e commit 24cae3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/meteordevelopment/meteorclient/mixin/GameRendererMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public abstract class GameRendererMixin {
110110
}
111111

112112
@Inject(method = "renderWorld", at = @At(value = "INVOKE_STRING", target = "Lnet/minecraft/util/profiler/Profiler;swap(Ljava/lang/String;)V", args = {"ldc=hand"}))
113-
private void onRenderWorld(RenderTickCounter tickCounter, CallbackInfo ci, @Local(ordinal = 0) Matrix4f projection, @Local(ordinal = 1) Matrix4f position, @Local(ordinal = 1) float tickDelta, @Local MatrixStack matrixStack) {
113+
private void onRenderWorld(RenderTickCounter tickCounter, CallbackInfo ci, @Local(ordinal = 0) Matrix4f projection, @Local(ordinal = 1) Matrix4f position, @Local(ordinal = 0) float tickDelta, @Local MatrixStack matrixStack) {
114114
if (!Utils.canUpdate()) return;
115115

116116
Profilers.get().push(MeteorClient.MOD_ID + "_render");

0 commit comments

Comments
 (0)