Fix ChunkWrapper isLightCorrect() for both singlePlayer and servers

This commit is contained in:
James Seibel
2023-03-04 14:26:08 -06:00
parent a4f731da16
commit 267fa4acfa
2 changed files with 3 additions and 3 deletions
@@ -159,8 +159,8 @@ public class ChunkWrapper implements IChunkWrapper
#else
if (chunk instanceof LevelChunk)
{
// called when connected to a server
return ((LevelChunk) chunk).isClientLightReady();
// called when connected to a server (and sometimes when in a singleplayer world)
return ((LevelChunk) chunk).isClientLightReady() || chunk.isLightCorrect();
}
else
{