From ba7cf30df93836247a9232c285ca85659d6578e5 Mon Sep 17 00:00:00 2001 From: Lars Hofhansl Date: Thu, 12 Jul 2018 00:53:50 -0700 Subject: [PATCH] Reduce block load glitches See #7542 This reduces glitches in deep water and underground caves. --- src/clientiface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clientiface.cpp b/src/clientiface.cpp index ba24af61f..53c3fe9cd 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -332,7 +332,7 @@ void RemoteClient::GetNextBlocks ( differs from day-time mesh. */ if (d >= d_opt) { - if (!block->getDayNightDiff()) + if (!block->getIsUnderground() && !block->getDayNightDiff()) continue; } -- 2.25.1