OSDN Git Service

修正・変更
[chemicraft/chemicraft.git] / common / pcc / chemicraft / core / container / ContainerChemicalCombinationTable.java
index ac7912e..5e566ac 100644 (file)
@@ -151,22 +151,6 @@ public class ContainerChemicalCombinationTable extends Container {
        public void onCraftGuiClosed(EntityPlayer par1EntityPlayer)
        {
                super.onCraftGuiClosed(par1EntityPlayer);
-
-               if (!this.worldObj.isRemote)
-               {
-                       for (int var2 = 0; var2 < 18; var2++){
-                               ItemStack var3 = null;
-                               if (var2 < 15){
-                                       var3 = this.invm.getStackInSlotOnClosing(var2);
-                               } else if (var2 < 16) {
-                                       var3 = this.invr.getStackInSlotOnClosing(var2 - 15);
-                               }
-
-                               if (var3 != null){
-                                       par1EntityPlayer.dropPlayerItem(var3);
-                               }
-                       }
-               }
        }
 
 }