Archiviert
13
0

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

Dieser Commit ist enthalten in:
Iceee 2014-07-28 02:47:31 -05:00 committet von Zach Brown
Ursprung 94071f2c32
Commit 37d9d3a11e

Datei anzeigen

@ -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)) { 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); - this.e(i, k);
+ // PaperSpigot start + // PaperSpigot start
+ if(block.material == Material.WATER) { + if(block.material == Material.WATER || block1.material == Material.WATER) {
+ this.scheduleWaterLightingUpdate(i, k); + this.scheduleWaterLightingUpdate(i, k);
+ } else { + } else {
+ this.e(i, k); + this.e(i, k);