Fixed order <.< you saw nothing.

This commit is contained in:
LexManos committed 2012-12-25 22:28:16 -08:00
1 parent a042453690
commit 081ec4b70a
1 file changed
+1 -1
@@ -91,7 +91,7 @@
this.theProfiler.endStartSection("tickChunk");
- var7.updateSkylight();
+ //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();
+ }