Close #60 (LODs rendering on top of the player) and improve get Lod pos to skip

This commit is contained in:
James Seibel
2021-08-22 18:24:41 -05:00
parent a81ce6c28a
commit 93dd441708
2 changed files with 14 additions and 17 deletions
@@ -234,7 +234,7 @@ public class LodRenderer
// see if the chunks Minecraft is going to render are the
// same as last time
if (!vanillaRenderedChunks.containsAll(chunkPosToSkip))
if (!vanillaRenderedChunks.containsAll(chunkPosToSkip) || vanillaRenderedChunks.size() != chunkPosToSkip.size())
{
regen = true;
vanillaRenderedChunks = chunkPosToSkip;