From 68cd848309efd5ae5783e371e3495ffb7011cdf3 Mon Sep 17 00:00:00 2001 From: JellySquid Date: Sat, 11 Nov 2023 17:58:03 -0600 Subject: [PATCH] Don't confuse Y/Z coordinates in DownloadingTerrainScreenMixin ... wow, that was dumb. --- .../sodium/mixin/core/gui/DownloadingTerrainScreenMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/jellysquid/mods/sodium/mixin/core/gui/DownloadingTerrainScreenMixin.java b/src/main/java/me/jellysquid/mods/sodium/mixin/core/gui/DownloadingTerrainScreenMixin.java index f1098d29c4..eae6808550 100644 --- a/src/main/java/me/jellysquid/mods/sodium/mixin/core/gui/DownloadingTerrainScreenMixin.java +++ b/src/main/java/me/jellysquid/mods/sodium/mixin/core/gui/DownloadingTerrainScreenMixin.java @@ -15,6 +15,6 @@ public class DownloadingTerrainScreenMixin { // the "feet" position. This solves a problem where the loading screen can become stuck waiting for the chunk // at the player's feet to load, when it is determined to not be visible due to the true location of the // player's eyes. - return BlockPos.ofFloored(instance.getX(), instance.getEyeY(), instance.getY()); + return BlockPos.ofFloored(instance.getX(), instance.getEyeY(), instance.getZ()); } }