Apply the better water lighting updates patch to receding water as well

This commit is contained in:
Iceee 2014-07-28 02:47:31 -05:00 committed by Zach Brown
parent 94071f2c32
commit 37d9d3a11e

View file

@ -75,7 +75,7 @@ index 406aead..d284614 100644
if (j2 != k2 && (j2 < k2 || this.getBrightness(EnumSkyBlock.SKY, i, j, k) > 0 || this.getBrightness(EnumSkyBlock.BLOCK, i, j, k) > 0)) {
- this.e(i, k);
+ // PaperSpigot start
+ if(block.material == Material.WATER) {
+ if(block.material == Material.WATER || block1.material == Material.WATER) {
+ this.scheduleWaterLightingUpdate(i, k);
+ } else {
+ this.e(i, k);