          var28 = (var27 & 15) << 4;
          var29 = var27 & 240;
          var30 = (double)((float)var28 / 256.0F);
-@@ -1965,7 +1968,7 @@
+@@ -2316,7 +2319,7 @@
+         double var28;
          double var30;
-         double var32;
  
 -        if (!this.blockAccess.doesBlockHaveSolidTopSurface(par2, par3 - 1, par4) && !Block.fire.canBlockCatchFire(this.blockAccess, par2, par3 - 1, par4))
 +        if (!this.blockAccess.doesBlockHaveSolidTopSurface(par2, par3 - 1, par4) && !Block.fire.canBlockCatchFire(this.blockAccess, par2, par3 - 1, par4, UP))
          {
              float var36 = 0.2F;
              float var19 = 0.0625F;
-@@ -1985,7 +1988,7 @@
+@@ -2336,7 +2339,7 @@
                  var9 = var20;
              }
  

             {
                 var8.setColorOpaque_F(var19 * par5, var22 * par6, var25 * par7);
                 this.renderNorthFace(par1Block, (double)par2, (double)par3, (double)par4, 38);
@@ -4749,7 +4752,7 @@
             var28 = par1Block.getBlockTexture(this.blockAccess, par2, par3, par4, 5);
             this.renderSouthFace(par1Block, (double)par2, (double)par3, (double)par4, var28);
 

             {
                 var8.setColorOpaque_F(var18 * par5, var21 * par6, var24 * par7);
                 this.renderWestFace(par1Block, (double)par2, (double)par3, (double)par4, 38);
@@ -5093,7 +5096,7 @@
             var28 = par1Block.getBlockTexture(this.blockAccess, par2, par3, par4, 4);
             this.renderNorthFace(par1Block, (double)par2, (double)par3, (double)par4, var28);
 
