diff options
-rw-r--r-- | src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java b/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java index 16c4ea6..be3cadd 100644 --- a/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java +++ b/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java @@ -192,10 +192,6 @@ abstract class MixinWorldRenderer implements IWorldRenderer { @Override public boolean isDrawn() { - if (!(skipRenderPass[0] && skipRenderPass[1])) - return true; - if (!Compat.isOptiFineShadersEnabled()) - return isInFrustum; - return true; + return (isInFrustum || Compat.isOptiFineShadersEnabled()) && !(skipRenderPass[0] && skipRenderPass[1]); } } |