Skip to content

Commit

Permalink
Don't confuse Y/Z coordinates in DownloadingTerrainScreenMixin
Browse files Browse the repository at this point in the history
... wow, that was dumb.
  • Loading branch information
jellysquid3 committed Nov 11, 2023
1 parent d9081b4 commit 68cd848
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 68cd848

Please sign in to comment.