From 641b12728fc3a79666dd0cccb9cd76e7d5698fa2 Mon Sep 17 00:00:00 2001 From: makamys Date: Tue, 7 Jun 2022 23:42:02 +0200 Subject: Actually disable simple meshes Reduces ram usage, by A LOT! --- src/main/java/makamys/lodmod/renderer/LODChunk.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/makamys/lodmod/renderer/LODChunk.java b/src/main/java/makamys/lodmod/renderer/LODChunk.java index c4c1fa1..5830132 100644 --- a/src/main/java/makamys/lodmod/renderer/LODChunk.java +++ b/src/main/java/makamys/lodmod/renderer/LODChunk.java @@ -166,7 +166,9 @@ public class LODChunk { } public void receiveChunk(Chunk chunk) { - putSimpleMeshes(SimpleChunkMesh.generateSimpleMeshes(chunk)); + if(!LODMod.disableSimpleMeshes) { + putSimpleMeshes(SimpleChunkMesh.generateSimpleMeshes(chunk)); + } } public boolean isFullyVisible() { -- cgit