diff options
author | makamys <makamys@outlook.com> | 2022-06-03 09:20:46 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-03 09:20:46 +0200 |
commit | d337c7abd2e4fd82325c2c0b3eae0f42cef813a6 (patch) | |
tree | d73b7150157d3fb9d654d71291cd8b37d9addd70 /src/main/java/makamys/lodmod/renderer/LODRegion.java | |
parent | a8bcc5b9f10b304e2dafdcd69668ababf0ed5fa8 (diff) | |
download | Neodymium-d337c7abd2e4fd82325c2c0b3eae0f42cef813a6.tar.gz Neodymium-d337c7abd2e4fd82325c2c0b3eae0f42cef813a6.tar.bz2 Neodymium-d337c7abd2e4fd82325c2c0b3eae0f42cef813a6.zip |
Add more options to enable usage as renderer replacer
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer/LODRegion.java')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/LODRegion.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODRegion.java b/src/main/java/makamys/lodmod/renderer/LODRegion.java index 0ed2324..4004adf 100644 --- a/src/main/java/makamys/lodmod/renderer/LODRegion.java +++ b/src/main/java/makamys/lodmod/renderer/LODRegion.java @@ -58,7 +58,7 @@ public class LODRegion { } public static LODRegion load(Path saveDir, int regionX, int regionZ) { - if(!LODMod.renderer.disableChunkMeshes) { + if(!LODMod.disableChunkMeshes) { File saveFile = getSavePath(saveDir, regionX, regionZ).toFile(); if(saveFile.exists()) { try { @@ -77,7 +77,7 @@ public class LODRegion { } public void save(Path saveDir) { - if(LODMod.renderer.disableChunkMeshes) return; + if(LODMod.disableChunkMeshes) return; try { File saveFile = getSavePath(saveDir, regionX, regionZ).toFile(); |