public void neighborLightPropagationChanged(EnumSkyBlock var1, int var2, int var3, int var4, int var5) {
        if (!this.worldProvider.hasNoSky || var1 != EnumSkyBlock.Sky) {
            if (this.blockExists(var2, var3, var4)) {
                if (var1 == EnumSkyBlock.Sky) {
                    if (this.canExistingBlockSeeTheSky(var2, var3, var4)) {
                        var5 = 15;
                    }
                } else if (var1 == EnumSkyBlock.Block) {
                    int var6 = this.getBlockId(var2, var3, var4);
                    if (Block.lightValue[var6] > var5) {
                        var5 = Block.lightValue[var6];
                    }
                }

                if (this.getSavedLightValue(var1, var2, var3, var4) != var5) {
                    this.scheduleLightingUpdate(var1, var2, var3, var4, var2, var3, var4);
                }

            }
        }
    }