From 904d04085ada0af18aad00da6a437f3a1c9bc7f3 Mon Sep 17 00:00:00 2001 From: LudoCrypt <60561627+LudoCrypt@users.noreply.github.com> Date: Tue, 17 Aug 2021 12:56:09 -0500 Subject: [PATCH] Update CubeMapRendererMixin.java - Fixed Crashing Issue --- .../com/terraformersmc/vistas/mixin/CubeMapRendererMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/terraformersmc/vistas/mixin/CubeMapRendererMixin.java b/src/main/java/com/terraformersmc/vistas/mixin/CubeMapRendererMixin.java index 0b5a5a6..9405a8a 100644 --- a/src/main/java/com/terraformersmc/vistas/mixin/CubeMapRendererMixin.java +++ b/src/main/java/com/terraformersmc/vistas/mixin/CubeMapRendererMixin.java @@ -23,7 +23,7 @@ public class CubeMapRendererMixin { @Inject(method = "draw", at = @At("HEAD")) private void vistas$draw(MinecraftClient client, float x, float y, float alpha, CallbackInfo ci) { - if (((CubeMapRenderer) (Object) this)instanceof PanoramicRenderer panoramicRenderer) { + if (((CubeMapRenderer) (Object) this) instanceof PanoramicRenderer panoramicRenderer) { this.settings = panoramicRenderer.panorama.visualSettings; } }