Skip to content

Commit

Permalink
Fix world not rendering above or below min/max height
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Jan 28, 2024
1 parent 1bc2ff3 commit 58a47fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private void initOutsideWorldHeight(WriteQueue<RenderSection> queue,
private void tryVisitNode(WriteQueue<RenderSection> queue, int x, int y, int z, int direction, int frame, Viewport viewport) {
RenderSection section = this.getRenderSection(x, y, z);

if (section == null || isWithinFrustum(viewport, section)) {
if (section == null || !isWithinFrustum(viewport, section)) {
return;
}

Expand Down

0 comments on commit 58a47fa

Please sign in to comment.