Skip to content

Commit

Permalink
Update CubeMapRendererMixin.java
Browse files Browse the repository at this point in the history
- Fixed Crashing Issue
  • Loading branch information
LudoCrypt committed Aug 17, 2021
1 parent 9055afe commit 904d040
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 904d040

Please sign in to comment.