Fixed order <.< you saw nothing.

This commit is contained in:
LexManos 2012-12-25 22:28:16 -08:00
parent a042453690
commit 081ec4b70a
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
this.theProfiler.endStartSection("tickChunk"); this.theProfiler.endStartSection("tickChunk");
- var7.updateSkylight(); - var7.updateSkylight();
+ //Limits and evenly distributes the lighting update time + //Limits and evenly distributes the lighting update time
+ if (startTime - System.nanoTime() <= 4000000 && doneChunks.add(var4)) + if (System.nanoTime() - startTime <= 4000000 && doneChunks.add(var4))
+ { + {
+ var7.updateSkylight(); + var7.updateSkylight();
+ } + }