Reduce block load glitches

See #7542
This reduces glitches in deep water and underground caves.
This commit is contained in:
Lars Hofhansl 2018-07-12 00:53:50 -07:00
parent 7ebc229b0d
commit ba7cf30df9

@ -332,7 +332,7 @@ void RemoteClient::GetNextBlocks (
differs from day-time mesh. differs from day-time mesh.
*/ */
if (d >= d_opt) { if (d >= d_opt) {
if (!block->getDayNightDiff()) if (!block->getIsUnderground() && !block->getDayNightDiff())
continue; continue;
} }