OSDN Git Service

素材制作台修正
authormozipi <mozipi_2@yahoo.co.jp>
Sun, 31 Mar 2013 03:01:12 +0000 (12:01 +0900)
committermozipi <mozipi_2@yahoo.co.jp>
Sun, 31 Mar 2013 03:01:12 +0000 (12:01 +0900)
common/pcc/chemicraft/base/ChemiCraftRegisterChemicalRecipe.java
common/pcc/chemicraft/core/system/ChemiCraftCraftingManager.java

index 9d895a9..c5a5e01 100644 (file)
@@ -1,6 +1,5 @@
 package pcc.chemicraft.base;
 
 package pcc.chemicraft.base;
 
-import pcc.chemicraft.ChemiCraftData;
 import pcc.chemicraft.base.gen.EnumOreSpawnFrequency;
 import pcc.chemicraft.core.ChemiCraftCore;
 import pcc.chemicraft.util.AtomInfo;
 import pcc.chemicraft.base.gen.EnumOreSpawnFrequency;
 import pcc.chemicraft.core.ChemiCraftCore;
 import pcc.chemicraft.util.AtomInfo;
index d47111b..8d39ada 100644 (file)
@@ -111,6 +111,8 @@ public class ChemiCraftCraftingManager {
                                        api.getMaterialRecipe().get(i).nbtMatch(par1IInventory).setNBT(nbtInv, resultArg);
                                }
                                returnObj = api.getMaterialRecipe().get(i).nbtMatch(par1IInventory);
                                        api.getMaterialRecipe().get(i).nbtMatch(par1IInventory).setNBT(nbtInv, resultArg);
                                }
                                returnObj = api.getMaterialRecipe().get(i).nbtMatch(par1IInventory);
+                               par2IInventory.setInventorySlotContents(0, resultArg);
+                               return returnObj;
                        }
                        par2IInventory.setInventorySlotContents(0, resultArg);
                }
                        }
                        par2IInventory.setInventorySlotContents(0, resultArg);
                }