          }
      }
  
-@@ -1968,7 +1995,14 @@
+@@ -1968,8 +1995,14 @@
          int var3 = MathHelper.floor_double(par1Entity.posX);
          int var4 = MathHelper.floor_double(par1Entity.posZ);
          byte var5 = 32;
 -
+-        if (!par2 || this.checkChunksExist(var3 - var5, 0, var4 - var5, var3 + var5, 0, var4 + var5))
 +        boolean canUpdate = !par2 || this.checkChunksExist(var3 - var5, 0, var4 - var5, var3 + var5, 0, var4 + var5);
 +        if (!canUpdate)
 +        {

 
         for (int var7 = var3; var7 <= var4; ++var7)
         {
@@ -3327,10 +3348,10 @@
      */
     public List getEntitiesWithinAABB(Class par1Class, AxisAlignedBB par2AxisAlignedBB)
     {

     }
 
     /**
@@ -2608,7 +2628,7 @@
             if (var5 != null && !var5.isEmpty())
             {
                 Block var6 = Block.blocksList[this.getBlockId(par1, par2, par3)];
