Commit Graph

4 Commits

Author SHA1 Message Date
5926bab323 Block light bug fixes (#454)
* Fixed an age-old light calculation bug causing solid blocks to filter their own light, fixed #375, probably fixed #288
Light spread reduction should be done based on the _target's_ light filter level, not the source.

* Revert "Fix Glowing Obsidian lighting"
This hack is no longer necessary.
This reverts commit 35c33ba980.

* Fixed wrong light levels for torch and redstone torch

* Take adjacent light levels and opacity changes into account, block light will now spread when an obstruction is removed, close #455

* Added timings for Level->setBlock() and lighting updates
2017-03-24 17:56:26 +00:00
c4c374e3fa Added extra chunk sending timings 2014-10-29 21:52:27 +01:00
db7222976e Code cleanup 2014-08-21 17:26:41 +02:00
9bdd294a66 Implemented global, tasks timings 2014-07-12 14:09:29 +02:00