Skip to content

Commit

Permalink
Disable the retun statement for now
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Sep 4, 2021
1 parent 9247fc5 commit 98d58df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/net/coderbot/iris/pipeline/ShadowRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,6 @@ private Frustum createShadowFrustum() {

@Override
public void renderShadows(WorldRendererAccessor worldRenderer, Camera playerCamera) {

if (IrisVideoSettings.shadowDistance == 0 && renderDistanceMultiplier < 0) {
return;
}
MinecraftClient client = MinecraftClient.getInstance();

worldRenderer.getWorld().getProfiler().swap("shadows");
Expand Down

0 comments on commit 98d58df

Please sign in to comment.