fixed EXCEPTION_ACCESS_VIOLATION when stitching lods on and off using F6
This commit is contained in:
@@ -287,7 +287,7 @@ public class LodRenderer
|
||||
|
||||
profiler.popPush("LOD draw");
|
||||
|
||||
if (vbos != null)
|
||||
if (vbos != null && LodConfig.CLIENT.advancedModOptions.debugging.drawLods.get())
|
||||
{
|
||||
ActiveRenderInfo renderInfo = mc.getGameRenderer().getMainCamera();
|
||||
Vector3d cameraDir = new Vector3d(renderInfo.getLookVector());
|
||||
|
||||
Reference in New Issue
Block a user