aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2021-05-07 17:01:20 +0200
committermakamys <makamys@outlook.com>2021-05-07 17:01:20 +0200
commitb79ed9cc4f0162b030ce51b880ea1c2bc4a927a5 (patch)
treefcae4696fb177cc7cb32e8bdf24bdf2d40e58514 /src
parent5b11d0fda343fcff44fd8bf8e9f7996f30568536 (diff)
downloadNeodymium-b79ed9cc4f0162b030ce51b880ea1c2bc4a927a5.tar.gz
Neodymium-b79ed9cc4f0162b030ce51b880ea1c2bc4a927a5.tar.bz2
Neodymium-b79ed9cc4f0162b030ce51b880ea1c2bc4a927a5.zip
Fix distant chunks becoming invisible forever
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/lodmod/renderer/LODChunk.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODChunk.java b/src/main/java/makamys/lodmod/renderer/LODChunk.java
index ab1a03d..29d4198 100644
--- a/src/main/java/makamys/lodmod/renderer/LODChunk.java
+++ b/src/main/java/makamys/lodmod/renderer/LODChunk.java
@@ -62,7 +62,7 @@ public class LODChunk {
} else if(distSq < Math.pow(64 * 16, 2)) {
renderer.setLOD(this, 1);
} else {
- renderer.setVisible(this, false);
+ renderer.setLOD(this, 0);
}
}