From bda26a3d49b5c10ef4f22e9f714d24bef6cf1cbb Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 5 Nov 2021 16:17:09 +0000 Subject: [PATCH] Fix MixinWorldRenderer for 1.18 after cherrypick --- .../fabric/mixin/client/rendering/MixinWorldRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric-rendering-v1/src/main/java/net/fabricmc/fabric/mixin/client/rendering/MixinWorldRenderer.java b/fabric-rendering-v1/src/main/java/net/fabricmc/fabric/mixin/client/rendering/MixinWorldRenderer.java index 4b710c49c..200f4d13b 100644 --- a/fabric-rendering-v1/src/main/java/net/fabricmc/fabric/mixin/client/rendering/MixinWorldRenderer.java +++ b/fabric-rendering-v1/src/main/java/net/fabricmc/fabric/mixin/client/rendering/MixinWorldRenderer.java @@ -196,7 +196,7 @@ public abstract class MixinWorldRenderer { } } - @Inject(at = @At(value = "INVOKE", target = "Ljava/lang/Runnable;run()V", shift = At.Shift.AFTER, ordinal = 0), method = "renderSky", cancellable = true) + @Inject(at = @At(value = "INVOKE", target = "Ljava/lang/Runnable;run()V", shift = At.Shift.AFTER, ordinal = 0), method = "renderSky(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/math/Matrix4f;FLjava/lang/Runnable;)V", cancellable = true) private void renderSky(MatrixStack matrices, Matrix4f matrix4f, float tickDelta, Runnable runnable, CallbackInfo info) { if (this.client.world != null) { DimensionRenderingRegistry.SkyRenderer renderer = DimensionRenderingRegistry.getSkyRenderer(world.getRegistryKey());