              }
  
              if (this.field_71429_W > 0)
-@@ -1834,6 +1848,7 @@
-                             }
+@@ -1836,6 +1850,7 @@
                          }
                      }
-+                    FMLCommonHandler.instance().fireKeyInput();
                  }
++                FMLCommonHandler.instance().fireKeyInput();
              }
  
-@@ -2025,12 +2040,15 @@
+             for (j = 0; j < 9; ++j)
+@@ -2026,12 +2041,15 @@
              this.field_71453_ak.func_74428_b();
          }
  

         this.field_71424_I.func_76320_a("gui");
 
         if (!this.field_71445_n)
@@ -1698,6 +1711,7 @@
                         this.field_71462_r.func_146274_d();
                     }
                 }

         this.func_71403_a((WorldClient)null);
         System.gc();
         ISaveHandler isavehandler = this.field_71469_aa.func_75804_a(p_71371_1_, false);
@@ -2067,6 +2085,12 @@
 
         while (!this.field_71437_Z.func_71200_ad())
         {
