***************
*** 231,238 ****
        GlStateManager.func_179112_b(770, 771);
        GlStateManager.func_179092_a(516, 0.003921569F);
  
-       for(final int i = 0; i < 3; ++i) {
           for(int j = 0; j < 2; ++j) {
              if(!this.field_78876_b[i][j].isEmpty()) {
                 switch(j) {
                 case 0:
--- 231,239 ----
        GlStateManager.func_179112_b(770, 771);
        GlStateManager.func_179092_a(516, 0.003921569F);
  
+       for(int i = 0; i < 3; ++i) {
           for(int j = 0; j < 2; ++j) {
+         	final int i_f = i;
              if(!this.field_78876_b[i][j].isEmpty()) {
                 switch(j) {
                 case 0:
***************
*** 271,277 ****
                       });
                       crashreportcategory.func_71500_a("Particle Type", new Callable<String>() {
                          public String call() throws Exception {
-                            return i == 0?"MISC_TEXTURE":(i == 1?"TERRAIN_TEXTURE":(i == 3?"ENTITY_PARTICLE_TEXTURE":"Unknown - " + i));
                          }
                       });
                       throw new ReportedException(crashreport);
--- 272,278 ----
                       });
                       crashreportcategory.func_71500_a("Particle Type", new Callable<String>() {
                          public String call() throws Exception {
+                            return i_f == 0?"MISC_TEXTURE":(i_f == 1?"TERRAIN_TEXTURE":(i_f == 3?"ENTITY_PARTICLE_TEXTURE":"Unknown - " + i_f));
                          }
                       });
                       throw new ReportedException(crashreport);
