From 153e15ed5f9bb90606513a56763a4363164381a0 Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Tue, 27 Feb 2024 21:37:11 +0100 Subject: [PATCH] fix crash with FalseTweaks --- src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java index 4fb80af..3132b55 100644 --- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java +++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java @@ -148,7 +148,7 @@ public int preRenderSortedRenderers(int renderPass, double alpha, WorldRenderer[ initIndexBuffers(); - if(!Constants.KEEP_RENDER_LIST_LOGIC) { + if(!Constants.KEEP_RENDER_LIST_LOGIC && !Compat.isFalseTweaksModPresent()) { updateRenderGlobalStats(); } }