mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 02:55:47 +01:00
Apply the better water lighting updates patch to receding water as well
This commit is contained in:
parent
94071f2c32
commit
37d9d3a11e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user