Skip to content

Commit

Permalink
fix: Respect entity render distance setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmangohands committed Feb 25, 2021
1 parent caa6837 commit 9915466
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public void updateChunks(Camera camera, Frustum frustum, boolean hasForcedFrustu

profiler.pop();

Entity.setRenderDistanceMultiplier(MathHelper.clamp((double) this.client.options.viewDistance / 8.0D, 1.0D, 2.5D));
Entity.setRenderDistanceMultiplier(MathHelper.clamp((double) this.client.options.viewDistance / 8.0D, 1.0D, 2.5D) * (double) this.client.options.entityDistanceScaling);
}

/**
Expand Down

0 comments on commit 9915466

Please sign in to comment.